mirror of https://github.com/yandex/odyssey.git
add odyssey defaults to init
This commit is contained in:
parent
7709b2546c
commit
6e60b71621
|
@ -23,6 +23,12 @@ BINFILE="@DEST_BIN_PATH@"
|
|||
CONFFILE="@DEST_CONFIG_PATH@"
|
||||
CMD="start-stop-daemon --verbose --pidfile $PIDFILE"
|
||||
|
||||
# Include odyssey defaults if available
|
||||
if [ -f /etc/default/odyssey ] ; then
|
||||
. /etc/default/odyssey
|
||||
fi
|
||||
|
||||
|
||||
create_dir() {
|
||||
if [ ! -d $1 ]; then
|
||||
mkdir -p $1
|
||||
|
|
Loading…
Reference in New Issue