1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-01-23 02:14:48 +00:00
This commit is contained in:
Olen 2026-01-22 18:57:35 -06:00 committed by GitHub
commit ab795a63ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,3 +110,13 @@ with-contenv
/usr/sbin/snmpd -f -c /etc/snmp/snmpd.conf
EOL
chmod +x /etc/services.d/snmpd/run
mkdir -p /etc/services.d/ircbot
cat >/etc/services.d/ircbot/run <<EOL
#!/usr/bin/with-contenv sh
if [ ${LIBRENMS_IRC_SERVICE:-0} == "1" ]; then
s6-setuidgid ${PUID}:${PGID} /opt/librenms/irc.php
fi
sleep 10
EOL
chmod +x /etc/services.d/ircbot/run