mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Add .service to unit name in uninstall too.
This commit is contained in:
parent
000eac5a2b
commit
03c7dc2b4c
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ fi
|
|||
|
||||
echo "Killing any running zerotier-one service..."
|
||||
if [ -n "$SYSTEMDUNITDIR" -a -d "$SYSTEMDUNITDIR" ]; then
|
||||
systemctl stop zerotier-one
|
||||
systemctl disable zerotier-one
|
||||
systemctl stop zerotier-one.service
|
||||
systemctl disable zerotier-one.service
|
||||
else
|
||||
if [ -f /sbin/service -o -f /usr/sbin/service -o -f /bin/service -o -f /usr/bin/service ]; then
|
||||
service zerotier-one stop
|
||||
|
|
Loading…
Add table
Reference in a new issue