We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30a1aa7 commit 250da5aCopy full SHA for 250da5a
NixSupport/nixosModules/services/app.nix
@@ -6,7 +6,7 @@ in
6
systemd.services.app = {
7
description = "IHP App";
8
enable = true;
9
- after = [ "network.target" ];
+ after = [ "network.target" "app.socket" ];
10
wantedBy = [ "multi-user.target" ];
11
serviceConfig = {
12
Type = "notify";
@@ -15,6 +15,7 @@ in
15
ExecStart = "${cfg.package}/bin/RunProdServer";
16
KillSignal = "SIGINT";
17
WatchdogSec = "60";
18
+ Sockets = "app.socket";
19
};
20
environment =
21
let
0 commit comments