We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fba8b5 commit 3519113Copy full SHA for 3519113
jvb/rootfs/etc/services.d/jvb/finish
@@ -0,0 +1,9 @@
1
+#!/usr/bin/with-contenv bash
2
+
3
+# When the jvb is shutdown (or gracefully shutdown), it exits with code 0.
4
+# In this case, we don't want S6 to restart the service. We want to stop all
5
+# services and shutdown the container.
6
7
+if [[ $1 -eq 0 ]]; then
8
+ s6-svscanctl -t /var/run/s6/services
9
+fi
0 commit comments