1
0
Fork 0
mirror of https://github.com/imtbl/hydrus-server-docker synced 2024-05-18 11:33:30 +12:00
hydrus-server-docker/docker-entrypoint.sh
Michael Serajnik babb618176
feat: Switch base image to Debian
Closes #1 and #2
2019-05-18 17:59:28 +02:00

14 lines
131 B
Bash

#!/bin/bash
. venv/bin/activate
stop() {
./server.py stop -d="/data"
}
trap "stop" SIGTERM
./server.py -d="/data" &
wait $!