Use wantedBy instead of partOf

This commit is contained in:
coolneng 2019-12-26 04:16:21 +01:00
parent e490102d74
commit 8cc829e063
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,6 @@
}; };
# Restart nginx after startup # Restart nginx after startup
systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ]; systemd.services.nginx.wantedBy = [ "gitea.service" ];
} }