summaryrefslogtreecommitdiff
path: root/Biz/Que/Host.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-12-30 18:03:29 -0500
committerBen Sima <ben@bsima.me>2020-12-30 18:03:29 -0500
commit7ec9b3277dc6858c2acf752540526e1ee5db0ea2 (patch)
treedfc08498a4d35738ce545ca7e61621a556f065c3 /Biz/Que/Host.nix
parent9da4feb106126940264dd27925ea3c19b04aac20 (diff)
que: use EnvironmentFile instead of keyfile
Diffstat (limited to 'Biz/Que/Host.nix')
-rw-r--r--Biz/Que/Host.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/Biz/Que/Host.nix b/Biz/Que/Host.nix
index e326483..23dab65 100644
--- a/Biz/Que/Host.nix
+++ b/Biz/Que/Host.nix
@@ -36,6 +36,7 @@ in
'';
serviceConfig = {
Environment = ["QUE_PORT=${toString cfg.port}"];
+ EnvironmentFile = "/run/que/env";
KillSignal = "INT";
Type = "simple";
Restart = "on-abort";