9 lines
200 B
Bash
9 lines
200 B
Bash
|
#!/usr/bin/env sh
|
||
|
set -e
|
||
|
|
||
|
if [ ! -f "/app/tiddlywiki.info" ]; then
|
||
|
tiddlywiki /app --init server
|
||
|
fi
|
||
|
|
||
|
tiddlywiki /app --listen host=0.0.0.0 username="${USERNAME:-user}" password="${PASSWORD-wiki}"
|