[Update] teleport-bin: update the systemd service

This commit is contained in:
axionl
2018-12-19 01:49:01 +09:00
parent 83d0f9d0e1
commit 79b641e7c9
3 changed files with 6 additions and 4 deletions
+4 -2
View File
@@ -4,8 +4,10 @@ After=network.target
[Service]
Type=simple
Restart=always
ExecStart=/usr/bin/teleport start
Restart=on-failure
ExecStart=/usr/local/bin/teleport start --config=/etc/teleport.yaml --pid-file=/var/run/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/teleport.pid
[Install]
WantedBy=multi-user.target