Another attempt on restricting executable paths.
This commit is contained in:
parent
14f2cdba24
commit
3f8fbc4e12
@ -6,9 +6,12 @@ Type=oneshot
|
||||
User=dwupload
|
||||
Group=dwupload
|
||||
ExecStart=/usr/bin/dwelling-upload-clean -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
|
||||
|
||||
LogsDirectory=dwelling-upload
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user