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:
abraunegg 2024-09-29 15:25:38 +10:00
commit ba1d225dba
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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