This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
linux:installation [2017/02/13 10:15] mstraub [Init Daemons] |
linux:installation [2017/02/13 10:29] mstraub [Init Daemons] |
||
---|---|---|---|
Line 517: | Line 517: | ||
Starting and stopping services works as follows: | Starting and stopping services works as follows: | ||
<code bash> | <code bash> | ||
- | service myservice start | + | systemctl start myservice |
- | service myservice stop | + | systemctl stop myservice |
- | service myservice status | + | systemctl status myservice |
</code> | </code> | ||
Logs of a service can be accessed via ''journalctl'': | Logs of a service can be accessed via ''journalctl'': | ||
- | <code> | + | <code bash> |
journalctl -u myservice | journalctl -u myservice | ||
</code> | </code> |