~mser/emote-server

ref: d18bb435136a91425e9b928deebedb72f5c175dd emote-server/docker-cmd-start.sh -rw-r--r-- 119 bytes
d18bb435Michael Serajnik Release 1.3.0 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

stop() {
  pkill node
  sleep 1
}

trap "stop" SIGTERM

envsubst < .env.docker > .env

yarn start &
wait $!