mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-27 17:08:29 +02:00
nixpkgs deprecated lib.getExe on packages without a mainprogram
This commit is contained in:
parent
816f6fc3bd
commit
741ebd293d
14 changed files with 34 additions and 33 deletions
|
@ -23,8 +23,8 @@
|
|||
description = "Crowdsec agent";
|
||||
serviceConfig = {
|
||||
Type = "notify";
|
||||
ExecStartPre = "${lib.getExe pkgs.crowdsec} -t -error";
|
||||
ExecStart = "${lib.getExe pkgs.crowdsec}";
|
||||
ExecStartPre = "${pkgs.crowdsec}/bin/crowdsec -t -error";
|
||||
ExecStart = "${pkgs.crowdsec}/bin/crowdsec";
|
||||
ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||
Restart = "always";
|
||||
RestartSec = 60;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue