mirror of
https://github.com/gravitational/teleport
synced 2024-10-21 01:34:01 +00:00
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:
parent
5055656572
commit
7774fb760c
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue