mirror of
https://github.com/basicswap/basicswap.git
synced 2024-12-23 11:59:36 +00:00
12 lines
173 B
Bash
12 lines
173 B
Bash
|
#!/bin/bash
|
||
|
set -e
|
||
|
|
||
|
if [[ "$1" == "wownerod" ]]; then
|
||
|
mkdir -p "$WOWNERO_DATA"
|
||
|
|
||
|
chown -h wownero:wownero /home/wownero/.wownero
|
||
|
exec gosu wownero "$@"
|
||
|
else
|
||
|
exec "$@"
|
||
|
fi
|