This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
управление_сервисами_в_linux [2021/07/08 12:41] val [Управление запуском/остановкой] |
управление_сервисами_в_linux [2021/07/22 12:05] admin [Система загрузки Systemd] |
||
---|---|---|---|
Line 155: | Line 155: | ||
centos# find /usr/lib/systemd/system/ | centos# find /usr/lib/systemd/system/ | ||
debian# find /lib/systemd/system/ | debian# find /lib/systemd/system/ | ||
+ | |||
+ | # find /etc/default/ | ||
$ systemctl status ssh | $ systemctl status ssh | ||
Line 189: | Line 191: | ||
</code><code> | </code><code> | ||
[Service] | [Service] | ||
- | LimitNOFILE=16000 | + | LimitNOFILE=65536 |
- | LimitNOFILESoft=16000 | + | LimitNOFILESoft=65536 |
</code><code> | </code><code> | ||
# systemctl daemon-reload | # systemctl daemon-reload |