1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Set restart and reload as stop/stop on proxy scripts

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-01-17 18:25:16 +01:00
parent 6da3a4768a
commit 17c84979e2
5 changed files with 46 additions and 0 deletions

View file

@ -2360,6 +2360,17 @@ stop_service() {
test -d "$CONFIG_FOLDER" && rm -rf "$CONFIG_FOLDER"
}
restart_service() {
stop
start
}
reload_service() {
stop
start
}
service_triggers() {
procd_add_reload_trigger "$NAME"
}