This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
управление_сервисами_в_linux [2025/04/18 09:45] val [Управление юнитами Systemd] |
управление_сервисами_в_linux [2025/04/18 15:37] (current) val [Управление юнитами Systemd] |
||
---|---|---|---|
Line 162: | Line 162: | ||
$ systemctl list-units | $ systemctl list-units | ||
$ systemctl --failed | $ systemctl --failed | ||
+ | $ systemctl reset-failed | ||
centos# find /usr/lib/systemd/system/ | centos# find /usr/lib/systemd/system/ | ||
Line 190: | Line 191: | ||
###User=jenkins | ###User=jenkins | ||
KillMode=process | KillMode=process | ||
- | #Restart=always | + | Restart=always |
- | #RestartSec=5s | + | RestartSec=5s |
[Install] | [Install] |