mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
* Fix issue with ExecStartPre statement to be more OS independent
This commit is contained in:
parent
f5ec4ab5ff
commit
0aef31d057
2 changed files with 2 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ ProtectKernelTunables=true
|
|||
#ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
ExecStartPre=/usr/bin/sleep 15
|
||||
ExecStartPre=/bin/sh -c 'sleep 15'
|
||||
ExecStart=@prefix@/bin/onedrive --monitor
|
||||
Restart=on-failure
|
||||
RestartSec=3
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ ProtectKernelTunables=true
|
|||
#ProtectKernelLogs=true
|
||||
ProtectControlGroups=true
|
||||
RestrictRealtime=true
|
||||
ExecStartPre=/usr/bin/sleep 15
|
||||
ExecStartPre=/bin/sh -c '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