tailscale/release/deb/debian.prerm.sh

8 lines
156 B
Bash
Raw Normal View History

#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop 'tailscaled.service' >/dev/null || true
fi
fi