openwrtv3/package/procd/files/procd.init
Felix Fietkau 6061734323 procd: add initial implementation
procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

SVN-Revision: 34865
2012-12-22 18:56:06 +00:00

19 lines
195 B
Bash

#!/bin/sh /etc/rc.common
START=11
start_stop() {
start-stop-daemon $1 -b -m -p /var/run/procd.pid -x /sbin/procd
}
start() {
start_stop -S
}
reload() {
return
}
stop() {
start_stop -K
}