ubuntu 서비스 관리 명령어

For Ubuntu versions that use systemd (15.04 and later) use:

systemctl disable service

This will do the job. It will disable the service and won’t restart after a reboot. To temporarily enable simply start the service. Not enable.

To find the service name use

service --status-all

Other commands are:

Use it to start a service. Does not persist after reboot

systemctl start service

Use it to stop a service. Does not persist after reboot

systemctl stop service

Use it to restart a service

systemctl restart service

Shows the status of a service. Tells whether a service is currently running.

systemctl status service

Turns the service on, on the next reboot or on the next start event. It persists after reboot.

systemctl enable service

Turns the service off on the next reboot or on the next stop event. It persists after reboot.

systemctl disable service

댓글 달기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다

4 × 4 =