diff --git a/init/systemd/dwelling-upload-clean.service b/init/systemd/dwelling-upload-clean.service index 725537f..18ce111 100755 --- a/init/systemd/dwelling-upload-clean.service +++ b/init/systemd/dwelling-upload-clean.service @@ -5,7 +5,7 @@ Description=dwelling-upload-clean Type=oneshot User=dwupload Group=dwupload -ExecStart=/usr/bin/dwelling-upload-clean -upload-dir /srv/uploads -keep-for 36 +ExecStart=/usr/bin/dwelling-upload-clean -upload-dir /srv/upload -keep-for 36 ReadOnlyPaths=/ # Set here path to directory where uploads are stored. diff --git a/init/systemd/dwelling-upload.service b/init/systemd/dwelling-upload.service index 4cf8c42..d74a758 100755 --- a/init/systemd/dwelling-upload.service +++ b/init/systemd/dwelling-upload.service @@ -7,7 +7,7 @@ Type=simple Restart=on-failure User=dwupload Group=dwupload -ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -upload-dir /srv/uploads \ +ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -upload-dir /srv/upload \ -keep-for 36 -storage 102400 -file-size 128 ReadOnlyPaths=/