diff options
Diffstat (limited to 'Run/Que/Server.nix')
-rw-r--r-- | Run/Que/Server.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Run/Que/Server.nix b/Run/Que/Server.nix index 272ea6e..e326483 100644 --- a/Run/Que/Server.nix +++ b/Run/Que/Server.nix @@ -29,12 +29,13 @@ in path = [ cfg.package ]; wantedBy = [ "multi-user.target" ]; script = '' - ${cfg.package}/bin/que-server -p ${toString cfg.port} + ${cfg.package}/bin/que-server ''; description = '' Que server ''; serviceConfig = { + Environment = ["QUE_PORT=${toString cfg.port}"]; KillSignal = "INT"; Type = "simple"; Restart = "on-abort"; |