mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-02 06:30:53 +03: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
|
echo \* starting zapret service
|
||||||
|
|
||||||
ln -fs /opt/zapret/init.d/macos/zapret.plist /Library/LaunchDaemons
|
|
||||||
"$INIT_SCRIPT_SRC" start
|
"$INIT_SCRIPT_SRC" start
|
||||||
}
|
}
|
||||||
|
service_stop_macos()
|
||||||
|
{
|
||||||
|
echo \* stopping zapret service
|
||||||
|
|
||||||
|
"$INIT_SCRIPT_SRC" stop
|
||||||
|
}
|
||||||
macos_fw_reload_trigger_clear()
|
macos_fw_reload_trigger_clear()
|
||||||
{
|
{
|
||||||
case "$MODE" in
|
case "$MODE" in
|
||||||
@ -1199,6 +1204,7 @@ install_macos()
|
|||||||
check_bins
|
check_bins
|
||||||
require_root
|
require_root
|
||||||
check_location copy_all
|
check_location copy_all
|
||||||
|
service_stop_macos
|
||||||
install_binaries
|
install_binaries
|
||||||
check_dns
|
check_dns
|
||||||
select_ipv6
|
select_ipv6
|
||||||
|
Loading…
Reference in New Issue
Block a user