mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-19 22:25:03 +02:00
21f4d8e858
* Add init.d service file & helper script to start service * Change how configDirName is set as XDG_CONFIG_HOME does not exist on systems where X11 is not present. When using init scripts and using XDG_CONFIG_HOME, ~ is not expanded thus existing config cannot be found. Using ~ in --confdir also does not work when running under init.d
5 lines
170 B
Bash
5 lines
170 B
Bash
#!/bin/bash
|
|
# This script is to assist in starting the onedrive client when using init.d
|
|
APP_OPTIONS="--monitor --verbose"
|
|
onedrive $APP_OPTIONS > /dev/null 2>&1 &
|
|
exit 0 |