diff --git a/flake.nix b/flake.nix index 6d7009d..8049c29 100644 --- a/flake.nix +++ b/flake.nix @@ -83,11 +83,11 @@ description = "zineshop daemon"; serviceConfig = { Type = "simple"; - ExecStart = (pkgs.writeScript "start-zineshop" '' - #! ${pkgs.bash}/bin/bash - PATH="$PATH:${lib.makeBinPath [ pkgs.poppler_utils ]}"; + ExecStart = pkgs.writeScript "start-zineshop" '' + #! ${pkgs.bash}/bin/bash + PATH="$PATH:${lib.makeBinPath [ pkgs.poppler_utils ]}" ${zineshop-pkg}/bin/zineshop - ''); + ''; Restart = "on-failure"; };