34 Commits (6b042217d7f0379e8ab7ebc07a4cfe99f3f26b5a)

Author SHA1 Message Date
Arthur Skowronek fc23bcdaa2 base-files: add service_stopped as a post stop hook 6 years ago
Linus Kardell 2ac1a57677 base-files: fix unkillable processes after restart 6 years ago
Roman Yeryomin 8b477d09d1 base-files: protect stop and reload actions with procd_lock 7 years ago
Roman Yeryomin 0b1fa809d0 base-files: rc.common: fix enable() return code and logic 7 years ago
Pierre Lebleu 832b6b8305 procd: service_data: Support data within the service itself 7 years ago
Alexandru Ardelean c7ee30d53a base-files: fix default procd reload 8 years ago
Alexandru Ardelean 6713694fe4 base-files: use restart if no reload hook for service 8 years ago
Pierre Lebleu 6bb11d52f3 procd: Allow initscripts to start one daemon instance at a time 8 years ago
John Crispin 4cf7929869 base-files: add a init.d option that will start the syscall tracer 10 years ago
Felix Fietkau d288a7903d rc.common: when reloading a service using procd, fall back to calling start instead of restart 11 years ago
John Crispin 3a9bfa5938 base-files: add a post start hook to the procd init.d api 11 years ago
John Crispin 44e2de03a4 base-files: calling stop_service before procd_kill. 11 years ago
Felix Fietkau c622a37101 base-files: remove duplicate stop_service() function. 11 years ago
John Crispin 950428fb1b base-files: add a post start hook for procd managed services 11 years ago
John Crispin 8eb56a88a4 procd: add a small script that handles config reloads until configd is ready 12 years ago
John Crispin 06ae364c3d base-files: run readlink on initscript name before opening services 12 years ago
Felix Fietkau bbc6694d98 base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script 12 years ago
Jo-Philipp Wich bfe966574f base-files: enable shell tracing in initscripts when INIT_TRACE is set 13 years ago
Felix Fietkau 6f46704743 base-files: split service related functions off to /lib/functions/service.sh 13 years ago
Nicolas Thill d0659ce37e package/base-files: move service* functions from /etc/rc.common to /lib/functions.sh 13 years ago
Nicolas Thill 10a03275bf package/base-files: /etc/rc.common: add service wrapper around start-stop-daemon 13 years ago
Felix Fietkau 8ff7756e82 base-files: warn when calling /etc/init.d/<script> enable and neither START nor STOP is defined 14 years ago
Felix Fietkau 5a351509aa base-files: use shutdown instead of stop when the system goes down (patch by tripolar) 14 years ago
Nicolas Thill b34bba25d2 base-files: fix shell syntax (prevent error messages when activating initscripts in IB) 15 years ago
Florian Fainelli de3a491240 simplify action handling in rc.common (#5558) 16 years ago
Nicolas Thill 7218e6326f make links to statup scripts in /etc/rc.d relative 16 years ago
Felix Fietkau e84e3a5b03 missing optional parameters for restart and boot functions 17 years ago
Felix Fietkau 6330c58b58 add patch from #2111 18 years ago
Mike Baker 5eb30e636d fix typo 18 years ago
Mike Baker bef40307bb START/STOP values must be specified in the init script 18 years ago
Mike Baker 291420a8f3 add K* scripts to be run at shutdown 18 years ago
Felix Fietkau 4bef6e13c2 add a workaround for self-killing init scripts on restart (#1023) 18 years ago
Felix Fietkau 9a5798e5f5 add a check to see if an init script is enabled 18 years ago
Felix Fietkau 59a06c71cb rename default/ to files/ 18 years ago
Felix Fietkau 1dc538c39a fix for multiple extra commands in init scripts using rc.common 18 years ago
Felix Fietkau 233fbc4726 fix typo 18 years ago
Felix Fietkau 8612d33691 init script cleanup, use /etc/rc.d/ for enabled scripts, /etc/init.d/<pkgname> (enable|disable) manages symlinks 18 years ago