mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 02:14:48 +00:00
Run dispatcher in the correct directory
This commit is contained in:
parent
937a473821
commit
7cf198beb8
1 changed files with 2 additions and 1 deletions
|
|
@ -121,6 +121,7 @@ cat >/etc/services.d/dispatcher/run <<EOL
|
|||
#!/usr/bin/execlineb -P
|
||||
with-contenv
|
||||
s6-setuidgid ${PUID}:${PGID}
|
||||
/opt/librenms/librenms-service.py ${DISPATCHER_ARGS}
|
||||
cd /opt/librenms
|
||||
./librenms-service.py ${DISPATCHER_ARGS}
|
||||
EOL
|
||||
chmod +x /etc/services.d/dispatcher/run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue