1
0
Fork 0
mirror of https://github.com/librenms/docker.git synced 2026-07-20 16:56:14 +00:00
librenms-docker/rootfs/usr/bin/lnms

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
yasu librenms:librenms php -f /opt/librenms/lnms "$@"
fi