mirror of
https://github.com/imtbl/hydrus-server-docker
synced 2024-06-10 14:44:51 +12:00
12 lines
104 B
Bash
12 lines
104 B
Bash
#!/bin/bash
|
|
|
|
stop() {
|
|
./server stop -d="/data"
|
|
}
|
|
|
|
trap "stop" SIGTERM
|
|
|
|
./server -d="/data" &
|
|
|
|
wait $!
|