Fixed anti-pattern use of /var/run as the PID dir (#3035)

Fixed anti-pattern use of /var/run as the PID dir
This commit is contained in:
Lele 2019-10-01 21:27:18 +02:00 committed by GitHub
parent 5055656572
commit 7774fb760c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,9 +5,9 @@ After=network.target
[Service]
Type=simple
Restart=on-failure
ExecStart=/usr/local/bin/teleport start --pid-file=/var/run/teleport.pid
ExecStart=/usr/local/bin/teleport start --pid-file=/run/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/var/run/teleport.pid
PIDFile=/run/teleport.pid
[Install]
WantedBy=multi-user.target