Permalink
Browse files

Add ability to load config file from the home dir

  • Loading branch information...
Lukasz Czyzykowski
Lukasz Czyzykowski committed Mar 12, 2016
1 parent bb50e2b commit 13fdbc800bba4f79d1b343f1cc3512f438c2871b
Showing with 3 additions and 0 deletions.
  1. +3 −0 acts
View
3 acts
@@ -65,6 +65,9 @@ elif [ -f /etc/acts.conf ] ; then
elif [ -f /usr/local/etc/acts.conf ] ; then
. /usr/local/etc/acts.conf
log_debug "load-config source=/usr/local/etc/acts.conf"
elif [ -f $HOME/.acts.conf ] ; then
. $HOME/.acts.conf
log_debug "load-config source=$HOME/.acts.conf"
else
die "load-config-error message=\"No $(pwd)/acts.conf, /etc/acts.conf or /usr/local/etc/acts.conf\""
fi

0 comments on commit 13fdbc8

Please sign in to comment.