x86_64-alpine-watcher/start.sh
Jonathan Ervine 66047470b2 Bumped build
2020-12-29 20:08:35 +08:00

10 lines
267 B
Bash

#!/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/