nixos/librenms: fix artisan wrapper

Fixes how the librenms-artisan wrapper passes arguments to allow invocations with multiple complex parameters to work.
This commit is contained in:
Sam Grimee
2024-08-07 11:32:04 +02:00
committed by Yureka
parent dc6c6e42e4
commit 4397a6d0a6
@@ -32,7 +32,7 @@ let
if [[ "$USER" != ${cfg.user} ]]; then
sudo='exec /run/wrappers/bin/sudo -u ${cfg.user}'
fi
$sudo ${package}/artisan $*
$sudo ${package}/artisan "$@"
'';
lnmsWrapper = pkgs.writeShellScriptBin "lnms" ''