From d900d7880029db145d1d79fa73ea112866ce1b8e Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 31 Mar 2022 03:38:41 +0400 Subject: [PATCH] Oh, right used utilities must be allowed as well. --- init/systemd/dwelling-radio.service | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/init/systemd/dwelling-radio.service b/init/systemd/dwelling-radio.service index 8735140..009b7de 100755 --- a/init/systemd/dwelling-radio.service +++ b/init/systemd/dwelling-radio.service @@ -10,10 +10,8 @@ Group=dwradio ExecStart=/usr/bin/dwelling-radio -conf /etc/dwelling/radio.yaml ReadOnlyPaths=/ -# Set here path to directory where uploads are stored. -ReadWritePaths=/srv/upload NoExecPaths=/ -ExecPaths=/usr/bin/dwelling-radio /usr/bin/bash /usr/lib64 +ExecPaths=/usr/bin/dwelling-radio /usr/bin/bash /usr/bin/tail /usr/bin/head /usr/bin/cut /usr/lib64 LogsDirectory=dwelling-radio RuntimeDirectory=dwelling-radio