From ca7ac04518b57180cd6cb0d46bc12fadeb7406ee Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Fri, 10 Apr 2020 23:39:07 -0700 Subject: Switch que-server to envy --- Run/Que/Server.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Run/Que/Server.nix') 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"; -- cgit v1.2.3