fixed website not automatically coming online after reboot
This commit is contained in:
parent
22aa9a9ae6
commit
be4069c234
|
@ -22,9 +22,10 @@ in {
|
||||||
inherit uid;
|
inherit uid;
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services."run-website" = {
|
systemd.services."website" = {
|
||||||
description = "Service for running my website";
|
description = "Service for running my website";
|
||||||
wants = ["network-online.target"];
|
wants = ["network-online.target"];
|
||||||
|
after = ["network-online.target"];
|
||||||
wantedBy = ["multi-user.target"];
|
wantedBy = ["multi-user.target"];
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
|
|
Loading…
Reference in a new issue