1 #!/bin/sh /etc/rc.common
7 PROG_DEAMON
=/bin
/sysrepod
8 PROG_PLUGIN
=/bin
/sysrepo-plugind
12 procd_set_param
command ${PROG_DEAMON}
13 procd_append_param
command -d -l 0
14 procd_set_param respawn
18 procd_set_param
command ${PROG_PLUGIN}
19 procd_append_param
command -d -l 0
20 procd_set_param respawn
26 if [ -f /etc
/init.d
/netopeer2-server
]; then
27 # netopeer2-server will automatically start sysrepod,
28 # so we need to stop it
29 /etc
/init.d
/netopeer2-server stop
32 service_stop
${PROG_PLUGIN}
33 service_stop
${PROG_DEAMON}