abraunegg-onedrive/systemd.units/onedrive.service.in
abraunegg 9b361101f6 Update systemd service files
* 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
2018-04-12 12:43:23 +10:00

14 lines
269 B
SYSTEMD

[Unit]
Description=OneDrive Free Client
Documentation=https://github.com/skilion/onedrive
Requires=network-online.target
After=network-online.target
[Service]
ExecStart=@PREFIX@/bin/onedrive --monitor
Restart=on-failure
RestartSec=3
[Install]
WantedBy=default.target