Systemd
Usage
# 设置默认 runlevel,还有 graphical.target
sudo systemctl set-default multi-user.target
# 切换 runlevel
sudo systemctl isolate multi-user.target
# 143 进程退出状态码
[Service]
SuccessExitStatus=143
Links
- How To Use Systemctl to Manage Systemd Services and Units
- How to Change Runlevels (targets) in SystemD
- What's the difference between /usr/lib/systemd/system and /etc/systemd/system?
- systemd user services and systemctl --user
- unit falling into a failed state (status=143) when stopping service
- Kafka installation with systemd
- systemd时代的开机自启动任务