Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion net/keepalived/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=keepalived
PKG_VERSION:=2.3.3
PKG_RELEASE:=3
PKG_RELEASE:=4
Comment thread
feckert marked this conversation as resolved.

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://www.keepalived.org/software
Expand Down
15 changes: 12 additions & 3 deletions net/keepalived/files/keepalived.init
Original file line number Diff line number Diff line change
Expand Up @@ -668,9 +668,18 @@ service_triggers() {
}

reload_service() {
process_config
#SIGHUP is used by keepalived to do init.d reload
procd_send_signal keepalived
local enabled

config_load 'keepalived'
config_get_bool enabled globals enabled 1

if [ "$enabled" = "1" ] && procd_running "keepalived"; then
process_config
# SIGHUP is used by keepalived to do init.d reload
procd_send_signal keepalived
Comment thread
Jackie264 marked this conversation as resolved.
else
start
fi
}

start_service() {
Expand Down