1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-23 21:37:10 +02:00
openwrt-xburst/package/procd/files/procd.init
nbd 61b2c378ae 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 18:56:06 +00:00

20 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
}