mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 21:24:31 +04:00
19 lines
340 B
Bash
19 lines
340 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2007-2015 OpenWrt.org
|
|
|
|
START=70
|
|
STOP=01
|
|
|
|
USE_PROCD=1
|
|
|
|
start_service() {
|
|
procd_open_instance
|
|
procd_set_param command /usr/sbin/keepalived
|
|
procd_append_param command -n # don't daemonize, procd will handle that for us
|
|
|
|
# set auto respawn behavior
|
|
procd_set_param respawn
|
|
procd_close_instance
|
|
}
|
|
|