mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-19 22:25:03 +02:00
da9cc628cb
* Change the ordering of 'make install' so that directories and permissions are set first * Use wildcard to copy service files to systemd directory as 'install' was failing when there was @ in the script * Update systemd units files based on https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ for starting the onedrive service
14 lines
266 B
SYSTEMD
14 lines
266 B
SYSTEMD
[Unit]
|
|
Description=OneDrive Free Client
|
|
Documentation=https://github.com/skilion/onedrive
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=@PREFIX@/bin/onedrive --monitor
|
|
Restart=on-failure
|
|
RestartSec=3
|
|
|
|
[Install]
|
|
WantedBy=default.target
|