mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 02:14:48 +00:00
Merge 3b83e865d6 into f45cd5726f
This commit is contained in:
commit
ab795a63ed
1 changed files with 10 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue