Changes

Jump to: navigation, search

XELK-AN-008: How to use systemd on an Embedded system

59 bytes added, 13:02, 24 September 2019
Services
== Services ==
<code>systemctl</code> is a command line utility and primary tool to manage the systemd daemons/services such as (''start, restart, stop, enable, disable, reload & status'').
It is possible to display all '''started''' services with the following userspace command:
systemctl -t service --all
=== Other useful service commands ===
Starting a service from userspace:
systemctl disable ''<service_name>''
==== systemctl mask =a service ===
There is a third level for stopping a service other than ''stop'' and ''disable'': it is the command <code>mask</code>.
It stops the service and it will not possible to start it again using ''start''.Using <code>systemctl</code> it is possbile to ''mask/unmask'' a service:
<pre>
8,154
edits

Navigation menu