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

Linux systemctl

마지막 업데이트 4년 전
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. 👨‍💻

관련글
Essedrop - 이미지 주소를 만드는 가장 빠른 방법
 

독자 의견

저자 @richard 에게 의견 남기기:

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