From ca414f6054e0096b31c1311a2d62dea97b393218 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 20 Mar 2022 18:58:14 +0400 Subject: [PATCH] Removed NoExecPaths and ExecPaths since it doesn't work for whatever reason. Added RuntimeDirectory to store sock file in an appropriate place. --- init/systemd/dwelling-upload.service | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/init/systemd/dwelling-upload.service b/init/systemd/dwelling-upload.service index 89b55f4..a7e1bef 100755 --- a/init/systemd/dwelling-upload.service +++ b/init/systemd/dwelling-upload.service @@ -12,9 +12,8 @@ ExecStart=/usr/bin/dwelling-upload -conf /etc/dwelling/upload.yaml ReadOnlyPaths=/ # Set here path to directory where uploads are stored. ReadWritePaths=/srv/upload -NoExecPaths=/ -ExecPaths=/usr/bin/dwelling-upload +RuntimeDirectory=dwelling-upload LogsDirectory=dwelling-upload AmbientCapabilities=