Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-19 | instance: avoid dumping invalid service instances - prevents a potential crash | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2015-03-28 | properly handle return codes | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2015-03-23 | procd can now start jailed processes | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2015-03-06 | json 0.12 fixes | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2015-02-27 | service: rename variables / struct members called stdout, stderr to avoid ↵ | Felix Fietkau | |
conflicts with system defines Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2015-02-26 | service: don't use stdio log channel | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2015-02-26 | procd: support relayoing daemon stdout/stderr to syslog | Jo-Philipp Wich | |
This commit adds support to procd for relaying stdout and stderr streams to the system log. That is mainly useful for services not using syslog, e.g. uhttpd. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2014-11-19 | service: fix ubus list command | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-09-08 | instances can now start as a !root user | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-08-29 | add .data to instance_dump() | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-08-29 | add an event for "service.update" triggers | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-08-29 | explicitly include json/json.h where needed | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-07-02 | service: fix trigger related double-free | Felix Fietkau | |
The memdup is unnecessary, because the data is contained inside in->config. Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-07-02 | service: implement get_data to dump the data fields for every instance | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-07-02 | instance: allow filling "data" with fields of arbitrary type | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-06 | allow instances to report errors. if an error is set, the instance wont be ↵ | John Crispin | |
started Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | service: do not emit any service events before the ubus connection is up | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | service: register the subscriber object before the event handler | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | service: fix a debug message typo | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | service: fix a leftover debug hack | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-06-05 | send ubus_notify events when servers and instances change state | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | add wildcard support to trigger matching code | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-06-05 | allow instances to register ubus object that should be watched | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2014-05-25 | service: fix json object leak in validate code | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: free trigger json_script context | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: fix trigger data memleak | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: ensure that trigger timers are always cancelled before free | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: fix memleak in trigger handling | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: use avl_remove_all_elements() | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: remove unused argument to service_update() | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: fix double-free in error path | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-05-25 | service: use blob_memdup() | Felix Fietkau | |
Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-02-24 | instance: improve portability of setting resource limits | Felix Fietkau | |
the data type varies for different implementations Signed-off-by: Felix Fietkau <nbd@openwrt.org> | |||
2014-01-29 | fix the dump logic to show validators and triggers even if no instances exist | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-12-18 | procd: fix service file tracking | Jo-Philipp Wich | |
The instance_config_move() function in the procd instance managing code is missing a blobmsg_list_move() call to update the tracked file items with the newly calculated checksums in case of a file change. Without that change, services are always reloaded after the first change to a tracked file regardless of whether there are any subsequent changes or not. Add a missing instance of blobmsg_list_free() as well. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> | |||
2013-12-09 | procd: set resource limits for service instances | Ulrich Weber | |
useful to enable core dumps or set resource limits Signed-off-by: Ulrich Weber <uw@xyne.com> | |||
2013-11-20 | fix rcS memory leaks and running hook | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-19 | make ue of the md5.c inside libubox | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-19 | fix up the order of respawn parameters for ubus | John Crispin | |
Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-18 | make the service running trigger be queued directly after the service was ↵ | John Crispin | |
startetd Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-15 | procd: Allow process respawning forever | Helmut Schaa | |
Use respawn_retry==0 as indication to respawn a process forever. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John Crispin <blogic@openwrt.org> | |||
2013-11-15 | debloat and reorganize code | John Crispin | |
split app into procd and init binaries remove log support, this is an external service now Signed-off-by: John Crispin <blogic@openwrt.org> |