Browse Source

install_easy: stop macos service before processing

pull/65/head
bol-van 4 years ago
parent
commit
d49a5eb545
  1. 8
      install_easy.sh

8
install_easy.sh

@ -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

Loading…
Cancel
Save