Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
development:linux:systemd:systemctl [2020/03/13 12:29] kalenpw [Commands] |
development:linux:systemd:systemctl [2021/06/29 15:10] (current) kalenpw |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ---- | ---- | ||
| - | ===== Commands | + | ===== start/stop enable/ |
| <code bash> | <code bash> | ||
| # start service when server boots, will not start service if server is already running | # start service when server boots, will not start service if server is already running | ||
| Line 13: | Line 13: | ||
| sudo systemctl start service-name | sudo systemctl start service-name | ||
| </ | </ | ||
| + | |||
| + | ---- | ||
| + | ===== List services ===== | ||
| + | <code bash> | ||
| + | systemctl --type=service | ||
| + | </ | ||
| + | ---- | ||
| + | |||