mirror of
https://github.com/imtbl/hydrus-server-docker
synced 2024-09-29 08:51:37 +13:00
11 lines
104 B
Bash
11 lines
104 B
Bash
#!/bin/bash
|
|
|
|
stop() {
|
|
./server stop -d="/data"
|
|
}
|
|
|
|
trap "stop" SIGTERM
|
|
|
|
./server -d="/data" &
|
|
|
|
wait $!
|