diff options
Diffstat (limited to 'docker/root/etc/services.d')
-rwxr-xr-x | docker/root/etc/services.d/ferdi-server/run | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docker/root/etc/services.d/ferdi-server/run b/docker/root/etc/services.d/ferdi-server/run new file mode 100755 index 0000000..cf1568c --- /dev/null +++ b/docker/root/etc/services.d/ferdi-server/run | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/usr/bin/with-contenv bash | ||
2 | |||
3 | cd /app | ||
4 | |||
5 | setcap 'cap_net_bind_service=+ep' `which node` | ||
6 | |||
7 | # start server | ||
8 | echo " " | ||
9 | echo "**** Starting Ferdi-server ****" | ||
10 | exec s6-setuidgid abc adonis serve --dev \ No newline at end of file | ||