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
|
Type=oneshot
|
||||||
User=dwupload
|
User=dwupload
|
||||||
Group=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=/
|
ReadOnlyPaths=/
|
||||||
# Set here path to directory where uploads are stored.
|
# Set here path to directory where uploads are stored.
|
||||||
|
@ -7,8 +7,8 @@ Type=simple
|
|||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
User=dwupload
|
User=dwupload
|
||||||
Group=dwupload
|
Group=dwupload
|
||||||
ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -upload-dir /srv/upload \
|
ExecStart=/usr/bin/dwelling-upload -listen /var/run/dwelling-upload/sock -dir /srv/upload \
|
||||||
-keep-for 36 -storage 102400 -file-size 128
|
-expiry 36 -storage 102400 -file 128
|
||||||
|
|
||||||
ReadOnlyPaths=/
|
ReadOnlyPaths=/
|
||||||
# Set here path to directory where uploads are stored.
|
# Set here path to directory where uploads are stored.
|
||||||
|
Loading…
Reference in New Issue
Block a user