2
0
mirror of https://github.com/gitwatch/gitwatch synced 2024-11-15 06:12:52 +00:00

[nix] Add wantedBy to systemd service (#126)

This field needed to properly enable service by configuration.
This commit is contained in:
Yury Shvedov 2024-05-20 15:26:02 +03:00 committed by GitHub
parent 09b0f1ae0a
commit e17d9cf02b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,6 +19,7 @@ let
{ {
inherit (cfg) enable; inherit (cfg) enable;
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wantedBy = [ "multi-user.target" ];
description = "gitwatch for ${name}"; description = "gitwatch for ${name}";
path = with pkgs; [ gitwatch git openssh ]; path = with pkgs; [ gitwatch git openssh ];
script = '' script = ''