1
0

Run services as a dwupload user.

This commit is contained in:
Alexander Andreev 2022-02-07 20:37:19 +04:00
parent 43c52dd754
commit 3bdc589118
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F
2 changed files with 2 additions and 0 deletions

View File

@ -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]

View File

@ -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]