summaryrefslogtreecommitdiff
path: root/openrc/init.d
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2026-07-03 15:01:48 +0100
committerJoe Carstairs <me@joeac.net>2026-07-03 15:01:48 +0100
commit99b21dbe8e134fbb77899e218c22a69830e73e8d (patch)
tree915922262b687aaf42c2fb4ae90a7450c8391901 /openrc/init.d
parent3af454683946a00772979a5dc88b53311be05612 (diff)
stores src in $HOME and more perm tweaks
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