From 7cf8c2e875ebfaef7c48256ba3237d9594b4d005 Mon Sep 17 00:00:00 2001 From: msehnout Date: Fri, 4 Oct 2019 09:52:55 +0200 Subject: [PATCH] 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. --- distribution/osbuild-composer.service | 1 - 1 file changed, 1 deletion(-) diff --git a/distribution/osbuild-composer.service b/distribution/osbuild-composer.service index 64042f379..f37237e22 100644 --- a/distribution/osbuild-composer.service +++ b/distribution/osbuild-composer.service @@ -6,7 +6,6 @@ Requires=osbuild-composer.socket [Service] Type=simple ExecStart=/usr/lib/osbuild-composer/osbuild-composer -RuntimeDirectory=osbuild-composer weldr StateDirectory=osbuild-composer WorkingDirectory=/usr/lib/osbuild-composer/ User=_osbuild-composer