Use 'after' instead of 'wantedBy'
This commit is contained in:
parent
8cc829e063
commit
65afa32e57
|
@ -22,6 +22,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# Restart nginx after startup
|
# Restart nginx after startup
|
||||||
systemd.services.nginx.wantedBy = [ "gitea.service" ];
|
systemd.services.nginx.after = [ "gitea.service" ];
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue