mirror of
https://github.com/librenms/docker.git
synced 2026-07-18 00:55:20 +00:00
7 lines
186 B
Bash
Executable file
7 lines
186 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
if [ "$(id -u -n)" = "librenms" -a "$(id -g -n)" = "librenms" ]; then
|
|
php -f /opt/librenms/lnms "$@"
|
|
else
|
|
gosu librenms:librenms php -f /opt/librenms/lnms "$@"
|
|
fi
|