From b6f3852e324c3dab11efec73a1581b31f89afe65 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 26 Sep 2017 17:44:11 +0200 Subject: [PATCH] Fixed daemon script --- daemon | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/daemon b/daemon index ba3b892..da4bf36 100755 --- a/daemon +++ b/daemon @@ -1,9 +1,9 @@ -#!/bin/sh +#!/bin/bash ABSPATH=$( dirname $(realpath $0) ); -source $ABSPATH/include/bash/const; -source $ABSPATH/include/bash/func; +source $ABSPATH/lib/include/bash/const; +source $ABSPATH/lib/include/bash/func; # (1) Check synchronization done # if [ ! -e /target/sync ]; then @@ -13,5 +13,5 @@ fi; # (2) Get the list of etrees # cat $ETREE_CONF | \ while read etree; do - sudo systemctl restart sats-feature@$ETREE_CONF.service; + sudo systemctl restart sats-feature@$etree.service; done;