summaryrefslogtreecommitdiff
path: root/Run/Que/Server.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-04-10 23:39:07 -0700
committerBen Sima <ben@bsima.me>2020-04-11 00:04:47 -0700
commitca7ac04518b57180cd6cb0d46bc12fadeb7406ee (patch)
tree36544daab25a99d58b2661eff42fdf39927fd412 /Run/Que/Server.nix
parent76112b8bd26c0e282d5479ccae9d79c4dc28c35d (diff)
Switch que-server to envy
Diffstat (limited to 'Run/Que/Server.nix')
-rw-r--r--Run/Que/Server.nix3
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";