Run services as a dwupload user.
This commit is contained in:
parent
43c52dd754
commit
3bdc589118
@ -3,6 +3,7 @@ Description=dwelling-upload-clear
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
|
User=dwupload
|
||||||
ExecStart=/usr/bin/dwelling-upload-clear -config /etc/dwelling-upload/config.yaml
|
ExecStart=/usr/bin/dwelling-upload-clear -config /etc/dwelling-upload/config.yaml
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
@ -5,6 +5,7 @@ After=network.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
User=dwupload
|
||||||
ExecStart=/usr/bin/dwelling-upload -config /etc/dwelling-upload/config.yaml
|
ExecStart=/usr/bin/dwelling-upload -config /etc/dwelling-upload/config.yaml
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
Loading…
Reference in New Issue
Block a user