debian-forge-composer/distribution/osbuild-composer.service
msehnout 7cf8c2e875 Remove RuntimeDirectory
This directory is currently only used for unix-domain sockets but they are created by systemd with the socket unit and therefore this line is redundant and maybe even causes problems.

We want the sockets to live even when the service is down (either because of error or intentional suspension) and it seems that setting the RuntimeDirectory to the directories that contain the sockets makes systemd remove both directories and unlink the sockets when the service fails and that is exactly what we don't want.
2019-10-04 11:17:10 +02:00

15 lines
325 B
Desktop File

[Unit]
Description=OSBuild Composer
After=multi-user.target
Requires=osbuild-composer.socket
[Service]
Type=simple
ExecStart=/usr/lib/osbuild-composer/osbuild-composer
StateDirectory=osbuild-composer
WorkingDirectory=/usr/lib/osbuild-composer/
User=_osbuild-composer
Restart=on-failure
[Install]
WantedBy=multi-user.target