systemctl usage
$ sudo systemctl list-units
$ sudo systemctl list-units --all
$ sudo systemctl list-units --type=service
$ sudo systemctl list-unit-files | grep enabled
$ sudo systemctl start application.service
$ sudo systemctl start application
$ sudo systemctl stop application.service
$ sudo systemctl restart application.service
$ sudo systemctl reload application.service
$ sudo systemctl reload-or-restart application.service
$ sudo systemctl enable application.service
$ sudo systemctl disable application.service
$ sudo systemctl status application.service
$ sudo systemctl is-active application.service
$ sudo systemctl is-enabled application.service
$ sudo systemctl is-failed application.service
Misc.
How To Use Systemctl to Manage Systemd Services and Units
독자 의견
저자 @richard 에게 의견 남기기: