Use wantedBy instead of partOf
This commit is contained in:
parent
e490102d74
commit
8cc829e063
@ -22,6 +22,6 @@
|
||||
};
|
||||
|
||||
# Restart nginx after startup
|
||||
systemd.services.nginx.unitConfig.partOf = lib.mkForce [ "gitea.service" ];
|
||||
systemd.services.nginx.wantedBy = [ "gitea.service" ];
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user