Changes

Jump to: navigation, search

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

44 bytes removed, 11:06, 23 September 2019
Location Path
Units are configured by ''systemd'' using configuration files that can be found in different directories. Each of them has different priority and behaviour:
* <code>/lib/systemd/system</code>
This directory stores a copy of configuration files. This is the default destination for new installed configuration file. Typically files in this directory should not be modified by the user.
* <code>/etc/systemd/system</code>
This is the directory where to store a new ''Unit'' or to modify an existing one. The files present in this directory have the highest priority.
* <code>/run/systemd/system</code> 
The files present in this directory have higher priority only respect the ones on <code>/lib/systemd/system</code>. Systemd creates these configuration files dinamically at runtime; modification on this directory can be used for testing a runtime behaviour for a ''Unit'' but all modifications will be lost at next boot.
8,154
edits

Navigation menu