2015-11-29 21:12:44 +01:00
|
|
|
[Unit]
|
|
|
|
Description=OneDrive Free Client
|
2018-08-17 00:02:56 +02:00
|
|
|
Documentation=https://github.com/abraunegg/onedrive
|
2018-04-12 04:43:23 +02:00
|
|
|
After=network-online.target
|
2018-04-22 00:29:43 +02:00
|
|
|
Wants=network-online.target
|
2015-11-29 21:12:44 +01:00
|
|
|
|
|
|
|
[Service]
|
2021-11-24 20:28:46 +01:00
|
|
|
# Commented out hardenings are disabled because they don't work out of the box.
|
|
|
|
# If you know what you are doing please try to enable them.
|
|
|
|
ProtectSystem=full
|
|
|
|
#PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
|
|
#ProtectClock=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
#ProtectKernelModules=true
|
|
|
|
#ProtectKernelLogs=true
|
|
|
|
ProtectControlGroups=true
|
|
|
|
RestrictRealtime=true
|
2019-04-17 03:06:24 +02:00
|
|
|
ExecStart=@prefix@/bin/onedrive --monitor
|
2018-04-12 04:43:23 +02:00
|
|
|
Restart=on-failure
|
|
|
|
RestartSec=3
|
2019-07-06 00:01:04 +02:00
|
|
|
RestartPreventExitStatus=3
|
2015-11-29 21:12:44 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|