services:cheatsheet
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
services:cheatsheet [2016/07/06 12:50] – created peter | services:cheatsheet [2019/12/04 20:35] (current) – removed peter | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Services - Cheatsheet ====== | ||
- | |||
- | ===== Service-related commands ===== | ||
- | |||
- | |||
- | | ^systemd^SysVinit^ | ||
- | |Start a service|systemctl start service_name.service|service service_name start| | ||
- | |Stop a service |systemctl stop service_name.service|service service_name stop| | ||
- | |Restart a service |systemctl restart service_name.service|service service_name restart| | ||
- | |Reload a service |systemctl reload service_name.service|service service_name reload| | ||
- | |Service status|systemctl status service_name.service|service service_name status| | ||
- | |Restart a service if already running|systemctl condrestart service_name.service|service service_name condrestart| | ||
- | |||
- | |||
services/cheatsheet.1467809444.txt.gz · Last modified: 2020/07/15 09:30 (external edit)