Created
October 17, 2022 08:30
-
-
Save KozhevnikovM/996ae19c780dfc296a467bf8ddb0aef9 to your computer and use it in GitHub Desktop.
Шпаргалка по systemctl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
systemctl list-units --type service --all — просмотр всех юнитов в системе | |
systemctl list-unit-files --type service | |
systemctl start name — запустить сервис | |
systemctl stop name — остановить сервис | |
systemctl restart name — перезапустить сервис | |
systemctl status name — посмотреть статус сервиса | |
systemctl reload name — перечитать конфигурацию | |
systemctl daemon-reload — перечитать конфигурацию для всех | |
systemctl try-restart name — перезапустить, если запущен | |
systemctl enable name — включить автозапуск сервиса | |
systemctl disable name — отключить автозапуск сервиса | |
systemctl list-unit-files --type service — список установленных юнит-файлов сервисов |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment