summaryrefslogtreecommitdiffstats
path: root/acid/acid-source
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-10-30 14:11:00 -0400
committerMalfurious <m@lfurio.us>2023-11-02 06:11:59 -0400
commit0da2ed7bd1cd7be76b6803a0c638036614a8f7b9 (patch)
treee96eaf8fc9a4630b7635a3c03382d810585d9c36 /acid/acid-source
parent47dbaf2c1d6329fdc814a107e0020b5b23e2d237 (diff)
downloadcychedelic-0da2ed7bd1cd7be76b6803a0c638036614a8f7b9.tar.gz
cychedelic-0da2ed7bd1cd7be76b6803a0c638036614a8f7b9.zip
Merge data volumes
I need something more complicated than just 1 new directory for logs, so let's go to the trouble now of merging the persistent volumes together and use subdirectories/files. The default location is now '/data'. To aid similar changes in the future, the locations of these persistent files are no longer hard-coded in the source, but defined by global shell variables. Additionally, a bug is fixed which impacted our ability to accurately clean old logs and calculate the next job number. Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to '')
-rwxr-xr-xacid/acid-source2
1 files changed, 1 insertions, 1 deletions
diff --git a/acid/acid-source b/acid/acid-source
index 2d507d6..29b1516 100755
--- a/acid/acid-source
+++ b/acid/acid-source
@@ -23,7 +23,7 @@ gethash() {
"$1" # pattern
}
-cd '/services'
+cd "$CYCHE_SERVICE_DIR"
# For <name>, limit to a-z, 0-9, -, _
if ! echo "$1" | grep -Eq '^[-_a-z0-9]*$'; then