module: add after and wantedBy
This commit is contained in:
parent
28998a2498
commit
579322bba6
@ -51,7 +51,9 @@ in {
|
||||
systemd.services.pr-status = {
|
||||
enable = true;
|
||||
description = "pr-status server";
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
|
||||
environment = { HOME = "/var/lib/pr-status"; };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user