doge: docker/production/*

This commit is contained in:
nahuhh
2024-11-28 15:45:04 +00:00
committed by tecnovert
parent f5db8cf7ce
commit 56f96291e4
3 changed files with 52 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
if [[ "$1" == "dogecoin-cli" || "$1" == "dogecoin-tx" || "$1" == "dogecoind" || "$1" == "test_dogecoin" ]]; then
mkdir -p "$DOGECOIN_DATA"
chown -h dogecoin:dogecoin /home/dogecoin/.dogecoin
exec gosu dogecoin "$@"
else
exec "$@"
fi