mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-30 13:35:37 +00:00
9 lines
253 B
Bash
9 lines
253 B
Bash
|
#!/bin/sh
|
||
|
set -e
|
||
|
if [ "$1" = "remove" ]; then
|
||
|
if [ -d /run/systemd/system ]; then
|
||
|
deb-systemd-invoke stop 'tailscale.nginx-auth.service' >/dev/null || true
|
||
|
deb-systemd-invoke stop 'tailscale.nginx-auth.socket' >/dev/null || true
|
||
|
fi
|
||
|
fi
|