8 lines
156 B
Bash
8 lines
156 B
Bash
|
#!/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
|