diff --git a/scripts/check_config_changed.sh b/scripts/check_config_changed.sh deleted file mode 100755 index bf6b0fe..0000000 --- a/scripts/check_config_changed.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -F=$1 -S=$2 - -t=`stat -c %y $F` - -while true -do - sleep 5 - t1=`stat -c %y $F` - - if [ "${t1}" != "${t}" ] - then - echo $F changed - t=${t1} - systemctl restart ${S} - fi - -done -