mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Add a 'sleep' when starting systemd service
* Add a 'sleep' when starting systemd service to allow dbus to correctly start and be functional
This commit is contained in:
parent
7c058361c7
commit
ba1d225dba
2 changed files with 2 additions and 0 deletions
|
|
@ -18,6 +18,7 @@ ProtectKernelTunables=true
|
|||
#ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
ExecStartPre=/usr/bin/sleep 15
|
||||
ExecStart=@prefix@/bin/onedrive --monitor
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@ ProtectKernelTunables=true
|
|||
#ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
ExecStartPre=/usr/bin/sleep 15
|
||||
ExecStart=@prefix@/bin/onedrive --monitor --confdir=/home/%i/.config/onedrive
|
||||
User=%i
|
||||
Group=users
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue