mirror of
https://github.com/GothenburgBitFactory/taskchampion-sync-server.git
synced 2026-04-05 17:20:35 +00:00
Default DATA_DIR in entrypoint to match VOLUME in the Dockerfile
Details are included in RELEASING.md for inclusion in the next set of release notes.
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
set -e
|
||||
echo "starting entrypoint script..."
|
||||
if [ "$1" = "/bin/taskchampion-sync-server" ]; then
|
||||
: ${DATA_DIR:=/var/lib/taskchampion-sync-server}
|
||||
: ${DATA_DIR:=/var/lib/taskchampion-sync-server/data}
|
||||
export DATA_DIR
|
||||
echo "setting up data directory ${DATA_DIR}"
|
||||
mkdir -p "${DATA_DIR}"
|
||||
|
||||
Reference in New Issue
Block a user