mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-01 13:32:16 +02:00
9b361101f6
* Update single user file so that it requries the network to be online before the service starts * Create a multi-user service file for multi-user environments with each user having their own onedrive account configuration (#321) - file provided by @sbocquet
15 lines
334 B
SYSTEMD
15 lines
334 B
SYSTEMD
[Unit]
|
|
Description=OneDrive Free Client for %i
|
|
Documentation=https://github.com/skilion/onedrive
|
|
Requires=network-online.target
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=@PREFIX@/bin/onedrive --monitor --confdir=/home/%i/.config/onedrive
|
|
User=%i
|
|
Group=users
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |