mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 23:04:23 +00:00
install_easy: stop macos service before processing
This commit is contained in:
parent
64c71f8928
commit
d49a5eb545
@ -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…
Reference in New Issue
Block a user