In .service files flags was replaced by the new ones.
This commit is contained in:
parent
084872be61
commit
6b8a7dffc7
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user