mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-16 18:08:40 +00:00
9 lines
268 B
Bash
Executable File
9 lines
268 B
Bash
Executable File
# $1 == 0 for uninstallation.
|
|
# $1 == 1 for removing old package during upgrade.
|
|
|
|
systemctl daemon-reload >/dev/null 2>&1 || :
|
|
if [ $1 -ge 1 ] ; then
|
|
# Package upgrade, not uninstall
|
|
systemctl try-restart tailscaled.service >/dev/null 2>&1 || :
|
|
fi
|