mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 13:05:46 +00:00
tailscaled.service: also cleanup prior to starting.
Fixes #813. Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
427bf2134f
commit
7988f75b87
@ -6,6 +6,7 @@ After=network-pre.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/default/tailscaled
|
EnvironmentFile=/etc/default/tailscaled
|
||||||
|
ExecStartPre=/usr/sbin/tailscaled --cleanup
|
||||||
ExecStart=/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port $PORT $FLAGS
|
ExecStart=/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state --socket=/run/tailscale/tailscaled.sock --port $PORT $FLAGS
|
||||||
ExecStopPost=/usr/sbin/tailscaled --cleanup
|
ExecStopPost=/usr/sbin/tailscaled --cleanup
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user