mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 06:08:08 +00:00
6061734323
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
20 lines
195 B
Bash
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
|
|
}
|