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:02] mstraub [Init Daemons] |
linux:installation [2017/02/13 10:29] mstraub [Init Daemons] |
||
---|---|---|---|
Line 513: | Line 513: | ||
[Install] | [Install] | ||
WantedBy=multi-user.target | WantedBy=multi-user.target | ||
+ | </code> | ||
+ | |||
+ | Starting and stopping services works as follows: | ||
+ | <code bash> | ||
+ | systemctl start myservice | ||
+ | systemctl stop myservice | ||
+ | systemctl status myservice | ||
+ | </code> | ||
+ | |||
+ | Logs of a service can be accessed via ''journalctl'': | ||
+ | <code bash> | ||
+ | journalctl -u myservice | ||
</code> | </code> | ||
====== Package Management ====== | ====== Package Management ====== |