From 606173432325a828bd55744857cbfd690ad9c4cf Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 22 Dec 2012 18:56:06 +0000 Subject: 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 --- package/procd/files/procd.init | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 package/procd/files/procd.init (limited to 'package/procd/files/procd.init') diff --git a/package/procd/files/procd.init b/package/procd/files/procd.init new file mode 100644 index 0000000000..3df5f48e60 --- /dev/null +++ b/package/procd/files/procd.init @@ -0,0 +1,19 @@ +#!/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 +} -- cgit v1.2.3