From ba9455d7e95782d99d6fa709f3d339e52892edd7 Mon Sep 17 00:00:00 2001 From: deajan Date: Wed, 25 May 2016 00:36:50 +0200 Subject: [PATCH] Fixed systemd path --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 5427a00..12563c1 100755 --- a/install.sh +++ b/install.sh @@ -4,7 +4,7 @@ PROGRAM=obackup PROGRAM_VERSION=2.0-pre PROGRAM_BINARY=$PROGRAM".sh" PROGRAM_BATCH=$PROGRAM"-batch.sh" -SCRIPT_BUILD=2016050901 +SCRIPT_BUILD=2016052501 ## osync / obackup / pmocr / zsnap install script ## Tested on RHEL / CentOS 6 & 7, Fedora 23, Debian 7 & 8, Mint 17 and FreeBSD 8 & 10 @@ -13,7 +13,8 @@ SCRIPT_BUILD=2016050901 CONF_DIR=/etc/$PROGRAM BIN_DIR=/usr/local/bin SERVICE_DIR_INIT=/etc/init.d -SERVICE_DIR_SYSTEMD_SYSTEM=/usr/lib/systemd/system +# Should be /usr/lib/systemd/system, but /lib/systemd/system exists on debian & rhel / fedora +SERVICE_DIR_SYSTEMD_SYSTEM=/lib/systemd/system SERVICE_DIR_SYSTEMD_USER=/etc/systemd/user ## osync specific code