linux:system:systemctl
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| linux:system:systemctl [2022/01/15 11:38] – created - external edit 127.0.0.1 | linux:system:systemctl [2023/09/01 10:28] (current) – [Reload] oscar | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Systemctl ====== | ====== Systemctl ====== | ||
| ===== Start/ | ===== Start/ | ||
| - | The .service extention is optional: | + | The .service extention is optional. |
| + | |||
| + | System wide services: | ||
| systemctl start application[.service] | systemctl start application[.service] | ||
| systemctl stop application[.service] | systemctl stop application[.service] | ||
| systemctl restart application[.service] | systemctl restart application[.service] | ||
| + | |||
| + | User session services: | ||
| + | |||
| + | systemctl -- user start application[.service] | ||
| + | systemctl -- user stop application[.service] | ||
| + | systemctl -- user restart application[.service] | ||
| + | |||
| ==== Reload ==== | ==== Reload ==== | ||
| In case the unit configuration file is changed reload it: | In case the unit configuration file is changed reload it: | ||
| systemctl reload application.service | systemctl reload application.service | ||
| + | | ||
| + | or reload all systemd files. If you change a service file in / | ||
| + | systemctl daemon-reload | ||
| + | |||
| ==== Enabling and Disabling ==== | ==== Enabling and Disabling ==== | ||
| systemctl enable application[.service] | systemctl enable application[.service] | ||
linux/system/systemctl.1642246727.txt.gz · Last modified: by 127.0.0.1
