summaryrefslogtreecommitdiff
path: root/openrc/init.d
diff options
context:
space:
mode:
Diffstat (limited to 'openrc/init.d')
-rwxr-xr-xopenrc/init.d/joeac.net3
1 files changed, 2 insertions, 1 deletions
diff --git a/openrc/init.d/joeac.net b/openrc/init.d/joeac.net
index afe79bd..2d35363 100755
--- a/openrc/init.d/joeac.net
+++ b/openrc/init.d/joeac.net
@@ -3,8 +3,9 @@
# https://gist.github.com/itzwam/2069e935385193207f7e5bea7156e21d
# https://github.com/0x17de/dockerservice-openrc
+: ${HOME:=/home/joeac.net}
: ${MODULENAME:=${RC_SVCNAME##*.}}
-: ${SRCDIR:=/usr/local/lib/joeac.net}
+: ${SRCDIR:=$HOME/joeac.net}
DOCKER_COMPOSE_UP_ARGS=${DOCKER_COMPOSE_UP_ARGS-"--no-build --no-recreate --no-deps"}
[ -z "${MODULENAME}" ] && exit 1