diff --git a/scripts/postinst b/scripts/postinst index 9bef343..2ece3f8 100644 --- a/scripts/postinst +++ b/scripts/postinst @@ -22,8 +22,8 @@ fi echo "" echo 3proxy installed. if /bin/systemctl >/dev/null 2>&1; then \ - /bin/systemctl stop 3proxy.service || /usr/sbin/service 3proxy stop || true; \ - /bin/systemctl start 3proxy.service || /usr/sbin/service 3proxy start || true; \ + /bin/systemctl stop 3proxy.service \ + /bin/systemctl start 3proxy.service \ echo use ;\ echo " "systemctl start 3proxy.service ;\ echo to start proxy ;\