Fix alertmanager service definition. Thanks to @eonpatapon

This commit is contained in:
Alberto Berti 2019-02-25 17:32:27 +01:00 committed by Jean-Baptiste Giraudeau
parent 1b6ce80c2b
commit e17b464a43
No known key found for this signature in database
GPG key ID: E96EF57FD501B961

View file

@ -153,7 +153,7 @@ let
after = [ "network.target" ]; after = [ "network.target" ];
script = '' script = ''
${amCfg.package}/bin/alertmanager \ ${amCfg.package}/bin/alertmanager \
${concatStringsSep " \\\n " cmdlineArgs} ${concatStringsSep " \\\n " (mkCmdlineArgs amCfg)}
''; '';
serviceConfig = { serviceConfig = {
User = amCfg.user; User = amCfg.user;