diff --git a/init/systemd/dwelling-upload-clean.service b/init/systemd/dwelling-upload-clean.service index 18ce111..a99cbf6 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/upload -keep-for 36 +ExecStart=/usr/bin/dwelling-upload-clean -dir /srv/upload -expiry 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 9f71712..c7ce6a8 100755 --- a/init/systemd/dwelling-upload.service +++ b/init/systemd/dwelling-upload.service @@ -7,8 +7,8 @@ Type=simple Restart=on-failure User=dwupload Group=dwupload -ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -upload-dir /srv/upload \ - -keep-for 36 -storage 102400 -file-size 128 +ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -dir /srv/upload \ + -expiry 36 -storage 102400 -file 128 ReadOnlyPaths=/ # Set here path to directory where uploads are stored.