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 693c446 commit 3b83e86Copy full SHA for 3b83e86
1 file changed
rootfs/etc/cont-init.d/04-svc-main.sh
@@ -113,10 +113,9 @@ chmod +x /etc/services.d/snmpd/run
113
mkdir -p /etc/services.d/ircbot
114
cat >/etc/services.d/ircbot/run <<EOL
115
#!/usr/bin/with-contenv sh
116
-if [ $(lnms config:get irc_alert) == "true" ]; then
117
- s6-setuidgid 1000:992
118
- /opt/librenms/irc.php
+if [ ${LIBRENMS_IRC_SERVICE:-0} == "1" ]; then
+ s6-setuidgid ${PUID}:${PGID} /opt/librenms/irc.php
119
fi
120
-sleep 60
+sleep 10
121
EOL
122
chmod +x /etc/services.d/ircbot/run
0 commit comments