module: add after and wantedBy

This commit is contained in:
Aaron Bieber 2024-07-01 11:03:53 -06:00
parent 28998a2498
commit 579322bba6
No known key found for this signature in database

View File

@ -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"; };