This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
управление_сервисами_в_linux [2025/01/20 14:47] val [Управление юнитами Systemd] |
управление_сервисами_в_linux [2025/04/10 07:07] (current) val [Управление юнитами Systemd] |
||
---|---|---|---|
Line 132: | Line 132: | ||
# chkconfig --list sshvpn | # chkconfig --list sshvpn | ||
- | # chkconfig --del sshvpn | + | # chkconfig sshvpn on |
+ | |||
+ | # #chkconfig sshvpn off | ||
+ | |||
+ | # #chkconfig --del sshvpn | ||
</code> | </code> | ||
==== Управление ресурсами ==== | ==== Управление ресурсами ==== | ||
Line 157: | Line 161: | ||
$ systemctl -a | $ systemctl -a | ||
$ systemctl list-units | $ systemctl list-units | ||
+ | $ systemctl --failed | ||
centos# find /usr/lib/systemd/system/ | centos# find /usr/lib/systemd/system/ | ||
Line 202: | Line 207: | ||
</code><code> | </code><code> | ||
[Service] | [Service] | ||
- | LimitNOFILE=65536 # nginx | + | LimitNOFILE=65536 # nginx, squid |
TimeoutStartSec=180 # elasticsearch | TimeoutStartSec=180 # elasticsearch | ||
</code><code> | </code><code> |