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