mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-10 09:52:13 +02:00
f39621c2da
* Changes unauthorized-api exit code to 3 * Systemd will not restart on exit code 3
17 lines
361 B
SYSTEMD
17 lines
361 B
SYSTEMD
[Unit]
|
|
Description=OneDrive Free Client for %i
|
|
Documentation=https://github.com/abraunegg/onedrive
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=@prefix@/bin/onedrive --monitor --confdir=/home/%i/.config/onedrive
|
|
User=%i
|
|
Group=users
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
RestartPreventExitStatus=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|