Skip to content

Commit c8216ef

Browse files
authored
Merge pull request #541 from librenms/murrant-patch-1
Run dispatcher in the correct directory
2 parents 937a473 + 7cf198b commit c8216ef

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

rootfs/etc/cont-init.d/05-svc-dispatcher.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ cat >/etc/services.d/dispatcher/run <<EOL
121121
#!/usr/bin/execlineb -P
122122
with-contenv
123123
s6-setuidgid ${PUID}:${PGID}
124-
/opt/librenms/librenms-service.py ${DISPATCHER_ARGS}
124+
cd /opt/librenms
125+
./librenms-service.py ${DISPATCHER_ARGS}
125126
EOL
126127
chmod +x /etc/services.d/dispatcher/run

0 commit comments

Comments
 (0)