nixos/gitea: add git
to the service path
Otherwise commands like `git push` will fail if the machine doesn't have git installed.
This commit is contained in:
parent
ad3a50e25b
commit
f90bd42c89
@ -278,7 +278,7 @@ in
|
||||
description = "gitea";
|
||||
after = [ "network.target" ] ++ lib.optional usePostgresql "postgresql.service" ++ lib.optional useMysql "mysql.service";
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
path = [ gitea.bin ];
|
||||
path = [ gitea.bin pkgs.gitAndTools.git ];
|
||||
|
||||
preStart = let
|
||||
runConfig = "${cfg.stateDir}/custom/conf/app.ini";
|
||||
|
Loading…
Reference in New Issue
Block a user