Add restart to nixpkgs-bot
This commit is contained in:
parent
5bd0c45f8e
commit
fe31ccaec3
|
@ -37,6 +37,7 @@ in {
|
|||
"matrix_token:${config.age.secrets."nixpkgs-bot/matrix_token".path}"
|
||||
"github_token:${config.age.secrets."nixpkgs-bot/github_token".path}"
|
||||
];
|
||||
Restart = "always"; # TODO: Add error handling to git querying github in nixpkgs-bot
|
||||
WorkingDirectory = "/var/lib/nixpkgs-bot";
|
||||
ExecStart = "${pkgs.nixpkgs-bot}/bin/nixpkgs-bot ${builtins.toFile "config.yaml" (builtins.toJSON configFile)}";
|
||||
DynamicUser = true;
|
||||
|
|
Loading…
Reference in a new issue