Tweak the prerequisites of the systemd job.

This commit is contained in:
niten 2023-03-21 08:24:58 -07:00
parent 25d3710a9e
commit 1e350b655f
1 changed files with 2 additions and 1 deletions

View File

@ -93,7 +93,8 @@ in {
config = mkIf cfg.enable {
systemd.services.suanni-server = {
path = [ suanni-server ];
wantedBy = [ "network-online.target" ];
wantedBy = [ "default.target" ];
after = [ "network-online.target" ];
serviceConfig = {
DynamicUser = true;
LoadCredential = [