services:stopping_a_service
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
services:stopping_a_service [2020/07/23 17:02] – old revision restored (2016/07/05 10:31) 37.57.218.243 | 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 ====== | ====== Services - Stopping a service ====== | ||
+ | |||
+ | ===== Using systemd ===== | ||
<code bash> | <code bash> | ||
systemctl stop service_name.service | 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> | <code bash> | ||
Line 9: | Line 21: | ||
</ | </ | ||
- | With **sysv-rc-conf** or **sysvconfig** | + | |
+ | ===== Using Upstart ===== | ||
<code bash> | <code bash> | ||
- | service service_name.service | + | stop service_name |
</ | </ | ||
+ |
services/stopping_a_service.1595523744.txt.gz · Last modified: 2020/07/23 17:02 by 37.57.218.243