openwrt/package/system
Jo-Philipp Wich 4987a409a7 procd: improve status reporting for partially running services
The existing implementation incorrectly reported `running` for services
without any instances or with all instances stopped/terminated.

Improve the default implementation of `/etc/init.d/* status` to properly
report services with not running instances. In case a service exists,
but without running instance, the status call will now report
"not running" with exit code 5. In case some instances are running and
some are stopped/terminated, the call will report "running (X/Y)" where
`X` denoted the amount of running instances and `Y` the amount of total
registered ones.

Ref: https://forum.openwrt.org/t/x/159443
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2023-07-27 13:31:18 +02:00
..
ca-certificates ca-certificates: Update to version 20230311 2023-05-27 22:51:18 +02:00
fstools treewide: replace PKG_USE_MIPS16:=0 with PKG_BUILD_FLAGS:=no-mips16 2023-03-21 18:28:22 +01:00
fwtool fwtool: update to latest Git head 2019-11-14 22:53:31 +01:00
gpio-cdev/nu801 ath79: add Cisco Meraki MR18 2023-05-14 00:08:35 +02:00
iucode-tool iucode-tool: fix compile error with musl libc and USE_CPUID_DEVICE 2022-12-04 13:21:46 +01:00
mtd treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
openwrt-keyring openwrt-keyring: add OpenWrt 22.03 GPG/usign keys 2022-03-25 14:28:00 +01:00
opkg treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
procd procd: improve status reporting for partially running services 2023-07-27 13:31:18 +02:00
refpolicy Revert "refpolicy: add variant that builds modular policy" 2020-11-22 15:20:35 +00:00
rpcd rpcd: update to latest git HEAD 2023-07-01 12:14:07 +02:00
selinux-policy selinux-policy: update to 1.2.5 2023-05-31 22:00:48 +02:00
ubox treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00
ubus treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
ucert ucert: update to latest git HEAD 2020-05-24 17:01:36 +02:00
uci uci: update to git HEAD 2023-03-05 16:39:24 +01:00
urandom-seed urandom-seed: go back to seeding with shell script temporarily 2022-04-14 10:12:34 +02:00
urngd urngd: update to the latest master 2023-07-25 10:04:34 +02:00
usign treewide: add support for "lto" in PKG_BUILD_FLAGS 2023-03-21 18:28:22 +01:00
zram-swap treewide: replace AUTORELEASE with real PKG_RELEASE 2023-05-18 11:35:29 +02:00