Private GIT

Skip to content
Snippets Groups Projects
Commit bba18d8b authored by dfiore1230's avatar dfiore1230 Committed by Ruud
Browse files

added the ability to source /etc/default/couchpotato file

added the ability to source /etc/default/couchpotato file by testing for file existence and source when available

added lines 39 - 45
parent 0494e5fc
Branches
No related tags found
No related merge requests found
......@@ -36,6 +36,14 @@ DAEMON_OPTS=" CouchPotato.py --daemon --pid_file=${PID_FILE}"
############### END EDIT ME ##################
# Check for existance of defaults file
# and utilze if available
if [ -e "/etc/default/couchpotato" ]
then
unset DAEMON_OPTS
. /etc/default/couchpotato
fi
test -x $DAEMON || exit 0
set -e
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment