waybar: fix command not found when reloading (#2865)

This commit is contained in:
Daniel Thwaites 2022-04-16 23:31:03 +01:00 committed by GitHub
parent 7add9ce2e5
commit a640dddc9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 5 deletions

View file

@ -318,7 +318,7 @@ in {
Service = {
ExecStart = "${cfg.package}/bin/waybar";
ExecReload = "kill -SIGUSR2 $MAINPID";
ExecReload = "${pkgs.coreutils}/bin/kill -SIGUSR2 $MAINPID";
Restart = "on-failure";
KillMode = "mixed";
};