mirror of
https://github.com/librenms/docker.git
synced 2026-01-23 18:25:09 +00:00
Run librenms-service as librenms user (#76)
This commit is contained in:
parent
944e949d11
commit
e35df14d42
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ mkdir -p /etc/services.d/dispatcher
|
|||
cat > /etc/services.d/dispatcher/run <<EOL
|
||||
#!/usr/bin/execlineb -P
|
||||
with-contenv
|
||||
s6-setuidgid ${PUID}:${PGID}
|
||||
/opt/librenms/librenms-service.py -v
|
||||
EOL
|
||||
chmod +x /etc/services.d/dispatcher/run
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue