Changes

Jump to: navigation, search

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

88 bytes added, 12:58, 24 September 2019
Other options
===== Other options =====
{| class="wikitable"|-! Value !! Description|-| ExecStarts=:  || Specifiy the full path and parameters for executing a service. If preceded by a "-" this inform that the command failure can be accepted.|- | ExecStartsPre=: || used for adding more commands to be executed before starting the main process. May be used multiple times specifying the complete path and command parameters.|- | ExecReload=: || commands to be executed for reloading the service configuration.|- | ExecStop=: || commands required for stopping the service. If missing, the service will be killed.|- | ExecStopPost=: || commands to be executed after the service has been stopped..|- | RestartSec=: || time to sleep (seconds) before restarting the service.|- | Restart=: || restart conditions for systemd to be checked before restarting the service (if terminated). Can be set to "always","on-success", "on-failure", "on-abnormal", "on-abort", or "on-watchdog". |- | TimeoutSec=: || time to sleep during ''start'' or ''stop'' before considering the process failed on start or stop. Start and stop timeout can be set with different values using <code>TimeoutStartSec=</code> nad e and <code>TimeoutStopSec=</code>|}
=== Creating a new service ===
8,154
edits

Navigation menu