summarylogtreecommitdiffstats
path: root/teleport.service
diff options
context:
space:
mode:
authorEmanuele 'Lele' Calo2020-01-03 16:13:33 +0100
committerEmanuele 'Lele' Calo2020-01-03 16:13:33 +0100
commit6f5871aba93aaef69e61df276e4bece2a29c6520 (patch)
tree98c162472f84ab4daf0fce6a731c1663dce13c35 /teleport.service
parent42b4b27038697bc401417a6763a0b2f339475f9e (diff)
downloadaur-6f5871aba93aaef69e61df276e4bece2a29c6520.tar.gz
Added env file to SystemD unit
Diffstat (limited to 'teleport.service')
-rw-r--r--teleport.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/teleport.service b/teleport.service
index 37b38210aff4..697eb02c927a 100644
--- a/teleport.service
+++ b/teleport.service
@@ -5,6 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
+EnvironmentFile=-/etc/default/teleport
ExecStart=/usr/bin/teleport start --config=/etc/teleport/teleport.yaml --pid-file=/var/run/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/teleport.pid