1
0

Removed NoExecPaths and ExecPaths since it doesn't work for whatever reason.

Added RuntimeDirectory to store sock file in an appropriate place.
This commit is contained in:
Alexander Andreev 2022-03-20 18:58:14 +04:00
parent 9ec920f3aa
commit ca414f6054
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -12,9 +12,8 @@ ExecStart=/usr/bin/dwelling-upload -conf /etc/dwelling/upload.yaml
ReadOnlyPaths=/ ReadOnlyPaths=/
# Set here path to directory where uploads are stored. # Set here path to directory where uploads are stored.
ReadWritePaths=/srv/upload ReadWritePaths=/srv/upload
NoExecPaths=/
ExecPaths=/usr/bin/dwelling-upload
RuntimeDirectory=dwelling-upload
LogsDirectory=dwelling-upload LogsDirectory=dwelling-upload
AmbientCapabilities= AmbientCapabilities=