mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Force stop/start on MLVPN reload
This commit is contained in:
parent
97100ee3be
commit
afe5fd135b
1 changed files with 5 additions and 1 deletions
|
@ -4,7 +4,6 @@ START=88
|
||||||
SERVICE_DAEMONIZE=1
|
SERVICE_DAEMONIZE=1
|
||||||
#SERVICE_SIG="KILL"
|
#SERVICE_SIG="KILL"
|
||||||
|
|
||||||
|
|
||||||
interface_multipath_settings() {
|
interface_multipath_settings() {
|
||||||
local mode port
|
local mode port
|
||||||
local config="$1"
|
local config="$1"
|
||||||
|
@ -71,3 +70,8 @@ start() {
|
||||||
stop() {
|
stop() {
|
||||||
service_stop /usr/sbin/mlvpn
|
service_stop /usr/sbin/mlvpn
|
||||||
}
|
}
|
||||||
|
|
||||||
|
reload() {
|
||||||
|
stop
|
||||||
|
start
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue