summaryrefslogtreecommitdiff
path: root/procd.h
Commit message (Collapse)AuthorAgeFilesLines
* procd: service_stop_all: also kill inittab actionsDaniel Golle2021-11-231-0/+1
| | | | | | Also send SIGKILL to all actions spawned by inittab. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* procd: add hotplug-call dispatcherDaniel Golle2021-02-071-0/+1
| | | | | | | | | Add hotplug-call dispatcher ubus objects for each subsystem. This will allow more services to run non-root and without excessive permissions while still being able to trigger (asynchronous) hotplug events. Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* Remove code that has become unnecessary after sysupgrade changesMatthias Schiffer2017-05-291-1/+0
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* trigger: replace trigger_init() with static runqueue initializationFelix Fietkau2016-07-291-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* add a build-time option to disable init related codeFelix Fietkau2016-03-051-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* make procd wait for ubus to come upJohn Crispin2014-10-061-0/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* allow instances to register ubus object that should be watchedJohn Crispin2014-06-051-1/+5
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* add a event broadcast functionJohn Crispin2013-11-181-0/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* debloat and reorganize codeJohn Crispin2013-11-151-32/+1
| | | | | | | split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org>
* the automatic service restart should not happen during sysupgradeJohn Crispin2013-11-081-0/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* syslog() is a blocking call on eglibc. as procd provides the actual syslog, ↵John Crispin2013-09-281-6/+2
| | | | | | | weneed to make sure that we do not run into a deadlock. Signed-off-by: John Crispin <blogic@openwrt.org> Signed-off-by: Markus Stenberg <markus.stenberg@iki.fi>
* add suport for measuring process resource usageJohn Crispin2013-09-031-0/+9
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* add trigger supportJohn Crispin2013-07-041-0/+6
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* add a rcS helperJohn Crispin2013-05-091-0/+4
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* fix behaviour during sysupgradeJohn Crispin2013-04-231-0/+1
| | | | Signed-off-by: John Crispin <blogic@openwrt.org>
* make reboot work without -f in failsafeJohn Crispin2013-04-231-0/+1
| | | | Singed-off-by: John Crispin <blogic@openwrt.org>
* add new main.c and fix Makefile/headersJohn Crispin2013-03-131-8/+48
|
* use calloc_aFelix Fietkau2012-12-311-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org>
* add new debug macroFelix Fietkau2012-06-251-0/+5
|
* implement more parts of the service core apiFelix Fietkau2012-06-011-1/+3
|
* add the service objectFelix Fietkau2012-06-011-0/+2
|
* initial import: starts and connects to ubusFelix Fietkau2012-06-011-0/+16