Skip to main content

Service Folders

Directory Below path for system units Below path for user units Environment variable set
RuntimeDirectory /run/ $XDG_RUNTIME_DIR $RUNTIME_DIRECTORY
StateDirectory /var/lib/ $XDG_STATE_HOME $STATE_DIRECTORY
CacheDirectory /var/cache/ $XDG_CACHE_HOME $CACHE_DIRECTORY
LogsDirectory /var/log/ $XDG_STATE_HOME/log/ $LOGS_DIRECTORY
ConfigurationDirectory /etc/ $XDG_CONFIG_HOME $CONFIGURATION_DIRECTORY