services:stopping_a_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
services:stopping_a_service [2019/12/04 20:42] – removed peter | services:stopping_a_service [2020/07/23 17:02] (current) – old revision restored (2016/07/06 11:28) 37.57.218.243 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Services - Stopping 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 | ||
+ | </ | ||
services/stopping_a_service.1575492127.txt.gz · Last modified: 2020/07/15 09:30 (external edit)