c
This commit is contained in:
parent
619eca7da0
commit
9e0caca46f
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CRON_LIST=/data/$SRV_START_DIR/cron.cfg
|
CRON_LIST=/data/config/$SRV_START_DIR/cron.cfg
|
||||||
|
|
||||||
trap 'echo -e "\033[31mSomething went wrong\033[0m"; exit 1' EXIT
|
trap 'echo -e "\033[31mSomething went wrong\033[0m"; exit 1' EXIT
|
||||||
set -e
|
set -e
|
||||||
@ -9,7 +9,7 @@ export DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
# Checking for the presence of the cron.list file
|
# Checking for the presence of the cron.list file
|
||||||
if [ ! -f $CRON_LIST ]; then
|
if [ ! -f $CRON_LIST ]; then
|
||||||
echo "cron.list file not found!"
|
echo "cron.cfg file not found!"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user