diff options
Diffstat (limited to '')
| -rwxr-xr-x | bin/svtree-run | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/svtree-run b/bin/svtree-run index e8d1422..1f3711b 100755 --- a/bin/svtree-run +++ b/bin/svtree-run @@ -8,9 +8,13 @@ define LIVE_DIR "${XDG_RUNTIME_DIR}/s6-rc" define SCAN_DIR "${XDG_RUNTIME_DIR}/service" define SOURCE_DIR "${STATEDIR}/src" define COMPILED_DIR "${STATEDIR}/compiled" +define GENERATED_DIR "${XDG_RUNTIME_DIR}/svtree-generated" + +# generate additional services +if { /opt/svtree/bin/svtree-generate } # compile s6-rc db -foreground { /opt/svtree/bin/svtree-compile } +if { /opt/svtree/bin/svtree-compile } # check that we have the db if { eltest -e ${COMPILED_DIR} } |