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 d6ae2dc commit 891b274Copy full SHA for 891b274
root/etc/s6-overlay/s6-rc.d/svc-mod-swag-ondemand/run
@@ -1,3 +1,8 @@
1
#!/usr/bin/with-contenv bash
2
3
-exec s6-setuidgid abc python3 /app/swag-ondemand.py
+result=$(exec s6-setuidgid abc python3 /app/swag-ondemand.py)
4
+if [ $? -ne 0 ]; then
5
+ echo "***** Error: swag-ondemand failed to run *****"
6
+ echo "${result}"
7
+ sleep infinity
8
+fi
0 commit comments