From 7212be161d96a4436e7076a26953f5e799b0e5d7 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Wed, 30 Mar 2022 01:34:32 +0400 Subject: [PATCH] Okay, seems to be working. No clue why it didn't before. --- init/systemd/dwelling-upload.service | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init/systemd/dwelling-upload.service b/init/systemd/dwelling-upload.service index a7e1bef..202c507 100755 --- a/init/systemd/dwelling-upload.service +++ b/init/systemd/dwelling-upload.service @@ -12,6 +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-clean RuntimeDirectory=dwelling-upload LogsDirectory=dwelling-upload