x86_64-alpine-nzbhydra/start.sh
Jonathan Ervine 4f6f359524 modified: start.sh
Fix working directory
2020-06-06 21:33:32 +08:00

9 lines
248 B
Bash
Executable File

#!/bin/sh
#
## Script to kick off NZBHydra2 searcher
#
addgroup -g $GID $USER
adduser -D -u $UID -G $USER -H $USER
chown -R $UID:$GID /nzbhydra
su - $USER -c "cd /nzbhydra; /usr/bin/python3 nzbhydra2wrapperPy3.py --nobrowser --datafolder=/config/"