Kudos
Collect
Twiiter
Facebook
Share
Develop somethings, meditation, reading and thinking...

Linux systemctl

Last updated 11 months ago
0 0 0 0

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

# 0 or 1
$ 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

Hi, my name is Richard. I’m a developer wants to make the world better with logic power. Mainly I use Linux, Nginx, MySQL, PHP and JavaScript . I want to share my knowledge with someone that it was also based from some great persons via LYNMP. 👨‍💻

Related Articles
 

Responses

Leave a response to @richard

Please sign in to comment.
Markdown is also available in comment.