install_easy: stop macos service before processing

This commit is contained in:
bol-van 2021-03-04 17:54:11 +03:00
parent 64c71f8928
commit d49a5eb545

View File

@ -1169,9 +1169,14 @@ service_start_macos()
{
echo \* starting zapret service
ln -fs /opt/zapret/init.d/macos/zapret.plist /Library/LaunchDaemons
"$INIT_SCRIPT_SRC" start
}
service_stop_macos()
{
echo \* stopping zapret service
"$INIT_SCRIPT_SRC" stop
}
macos_fw_reload_trigger_clear()
{
case "$MODE" in
@ -1199,6 +1204,7 @@ install_macos()
check_bins
require_root
check_location copy_all
service_stop_macos
install_binaries
check_dns
select_ipv6