nixos/grafana: fix deprecation warning by using grafana server instead of grafana-server

Deprecation warning: The standalone 'grafana-server' program is deprecated and will be removed in the future. Please update all uses of 'grafana-server' to 'grafana server'
This commit is contained in:
Sandro Jäckel 2023-12-06 23:23:46 +01:00
parent cff247a127
commit 8c972ce2c0
No known key found for this signature in database
GPG Key ID: 3AF5A43A3EECC2E5

View File

@ -1831,7 +1831,7 @@ in
set -o errexit -o pipefail -o nounset -o errtrace
shopt -s inherit_errexit
exec ${cfg.package}/bin/grafana-server -homepath ${cfg.dataDir} -config ${configFile}
exec ${cfg.package}/bin/grafana server -homepath ${cfg.dataDir} -config ${configFile}
'';
serviceConfig = {
WorkingDirectory = cfg.dataDir;