From 9ec920f3aa9856ca813f77c69fec94cfadb50406 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sun, 20 Mar 2022 18:40:26 +0400 Subject: [PATCH] Excluded executables from NoExecPaths. --- init/systemd/dwelling-upload-clean.service | 1 + init/systemd/dwelling-upload.service | 1 + 2 files changed, 2 insertions(+) diff --git a/init/systemd/dwelling-upload-clean.service b/init/systemd/dwelling-upload-clean.service index fc0b8e5..c3bb2fa 100755 --- a/init/systemd/dwelling-upload-clean.service +++ b/init/systemd/dwelling-upload-clean.service @@ -10,6 +10,7 @@ ReadOnlyPaths=/ # Set here path to directory where uploads are stored. ReadWritePaths=/srv/upload NoExecPaths=/ +ExecPaths=/usr/bin/dwelling-upload-clean LogsDirectory=dwelling-upload diff --git a/init/systemd/dwelling-upload.service b/init/systemd/dwelling-upload.service index e60e20e..89b55f4 100755 --- a/init/systemd/dwelling-upload.service +++ b/init/systemd/dwelling-upload.service @@ -13,6 +13,7 @@ ReadOnlyPaths=/ # Set here path to directory where uploads are stored. ReadWritePaths=/srv/upload NoExecPaths=/ +ExecPaths=/usr/bin/dwelling-upload LogsDirectory=dwelling-upload