From 149ef73d2c2080e18066c00df70c0e6e5f701c40 Mon Sep 17 00:00:00 2001 From: txoof Date: Sat, 3 Aug 2024 20:34:27 +0200 Subject: [PATCH] add runtime directory --- install/paperpi-daemon.service | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install/paperpi-daemon.service b/install/paperpi-daemon.service index e47f6b2..19cf0d8 100644 --- a/install/paperpi-daemon.service +++ b/install/paperpi-daemon.service @@ -18,6 +18,9 @@ User=paperpi Group=paperpi Restart=on-failure RestartSec=15 +# create a runtime directory where the daemon can have read/write permissions +RuntimeDirectory=paperpi +WorkingDirectory=/run/paperpi [Install] WantedBy=multi-user.target