x86_64-alpine-watcher/start.sh
2020-07-21 20:48:04 +08:00

10 lines
267 B
Bash
Executable File

#!/bin/sh
##
## Script to start the Watcher3 server
##
addgroup -g $GID $USER
adduser -D -u $UID -G $USER -H $USER
chown -R $UID:$GID /watcher3 /config
until [ -f "/config/watcher.sqlite" ]; do sleep 10; done
/usr/bin/python3 /watcher3/watcher.py --userdata=/config/