ubuntu:services:stop_a_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
ubuntu:services:stop_a_service [2019/12/08 15:03] – removed peter | ubuntu:services:stop_a_service [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Ubuntu - Services - Stop a service ====== | ||
+ | |||
+ | ===== Using systemd ===== | ||
+ | |||
+ | <code bash> | ||
+ | systemctl stop service_name.service | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using System V ===== | ||
+ | |||
+ | With **sysv-rc-conf** or **sysvconfig** | ||
+ | |||
+ | <code bash> | ||
+ | service service_name.service stop | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using invoke-rc.d ===== | ||
+ | |||
+ | <code bash> | ||
+ | invoke-rc.d service_name.service stop | ||
+ | </ | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== Using Upstart ===== | ||
+ | |||
+ | <code bash> | ||
+ | stop service_name | ||
+ | </ | ||
ubuntu/services/stop_a_service.1575817429.txt.gz · Last modified: 2020/07/15 09:30 (external edit)