aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-09-14add quiet switch to do_stop in src-schedules.cWilliam Hubbs
This allows supervise-daemon to run this code without attempting to print some status messages used by start-stop-daemon.
2017-09-14make the procedure for killing child processes of services configurableWilliam Hubbs
2017-09-14Make cgroup_cleanup send only one sigterm and sigkillWilliam Hubbs
Instead of looping and sending multiple signals to child processes in cgroup_cleanup, we send sigterm followed by sleeping one second then sigkill. This brings us more in line with systemd's "control group" killmode setting. Also, this commit includes several shellcheck cleanups.
2017-09-14rc-cgroup.sh: move cgroup_cleanup to the end of the fileWilliam Hubbs
2017-09-14guide.md: clarify cgroups documentationWilliam Hubbs
Update the documentation to reflect cgroups version 2 support. Also, add a section on dealing with orphaned service processes. This fixes #94.
2017-09-14add support for control groups version 2William Hubbs
This is for #94.
2017-09-07version 0.31William Hubbs
2017-09-06Update ChangeLogWilliam Hubbs
2017-09-06add quiet parameter to run_stop_scheduleWilliam Hubbs
2017-09-06add retry option to supervise-daemonWilliam Hubbs
The --retry option for supervise-daemon defines how the supervisor will attempt to stop the child process it is monitoring. It is defined when the supervisor is started since stopping the supervisor just sends a signal to the active supervisor. This fixes #160.
2017-08-25make run_stop_schedule accept a pid instead of a pid fileWilliam Hubbs
2017-08-24version 0.30William Hubbs
2017-08-24start-stop-daemon: move --retry processing code to a shared moduleWilliam Hubbs
This was part of start-stop-daemon; however, it needs to be shared in order to be used by supervise-daemon.
2017-08-23move get_pid function to a shared fileWilliam Hubbs
2017-08-16Update ChangeLogWilliam Hubbs
2017-08-15sh/openrc-run: source service script before ulimit is processedWilliam Hubbs
This is needed to allow the service script author to set a default for rc_ulimit inside the service script.
2017-07-26man/openrc-run.8: document fstabinfo and mountinfoWilliam Hubbs
X-Gentoo-Bug: 592374 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=592374
2017-07-25man/openrc-run.8: document _pre and _post functionsWilliam Hubbs
Fixes https://github.com/openrc/openrc/issues/155.
2017-07-24fix ENT macro usageJason Graham
X-Gentoo-Bug: 624796 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624796
2017-07-24version 0.29William Hubbs
2017-07-24Typo fixJohn R. Graham
X-Gentoo-Bug: 624908 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=624908
2017-07-13Update ChangeLogWilliam Hubbs
2017-07-13Add comment about overriding the default efivars mount in fstab to newsWilliam Hubbs
2017-07-11add link to efivars issue to news fileWilliam Hubbs
2017-07-11Update ChangeLogWilliam Hubbs
2017-07-11fix sysvinit compatibility for shutdown wrapperWilliam Hubbs
2017-07-11fix sysvinit compatibility for reboot wrapperWilliam Hubbs
2017-07-11fix sysvinit compatibility for poweroff wrapperWilliam Hubbs
2017-07-10fix halt wrapper so it is sysvinit compatibleWilliam Hubbs
This makes the halt wrapper sysvinit compatible. It ignores several command line switches which are not currently implemented; however, those can be implemented if we need to do so. This fixes https://github.com/openrc/openrc/issues/146.
2017-07-07man: fix an unclosed .Bl/.El warningAdam Borowski
This fixes #151.
2017-07-07man: fix missing .Pp warningsAdam Borowski
This fixes #151.
2017-06-13init.d/sysfs: mount efivars read onlyWilliam Hubbs
This fixes #134.
2017-06-12fix argument parsing for the sysvinit shutdown wrapperWilliam Hubbs
This fixes #140.
2017-06-12scripts/shutdown: fix arguments to be sysvinit shutdown compatibleWilliam Hubbs
This fixes #140.
2017-06-12Fix link to shutdown for MKSYSVINIT=yesWilliam Hubbs
2017-06-12init.d/hostname: fix default parameter syntaxNuno Silva
The syntax for expanding a variable with a default value is ${parameter:-word} not ${parameter-word} although the latter still works for a reason I could not explain. This fixes #143.
2017-06-12init.d/hostname: fix indentationNuno Silva
This is for #143.
2017-06-12scripts/Makefile: make symlinks absolute instead of relativeudeved
This closes #142.
2017-06-12scripts/Makefile: respect SBINDIR with MKSYSVINITudeved
This is for #142.
2017-06-08kill_all: include limits.h for PATH_MAXJory A. Pratt
2017-06-08version 0.28William Hubbs
2017-06-08fix compile issue for muslWilliam Hubbs
2017-06-07Update ChangeLogWilliam Hubbs
2017-06-07man: update openrc-shutdown man pageWilliam Hubbs
Add the new wtmp options and fix some cross references.
2017-06-07scripts/shutdown: pass --single to openrc-shutdownWilliam Hubbs
Sysvinit shutdown has a default of single user mode, but openrc-shutdown makes you choose a default action. Because of this, the shutdown wrapper needs to pass --single to openrc-shutdown.
2017-06-05openrc-shutdown: add --single option and clean up option processingWilliam Hubbs
2017-06-05init.d/bootmisc: use openrc-shutdown instead of halt to write halt recordWilliam Hubbs
This fixes #139 and fixes #128. and fixes #124.
2017-06-04add support for writing reboot and shutdown records to wtmpWilliam Hubbs
2017-05-31openrc-init: add optional sysvinit compatibilityWilliam Hubbs
2017-05-30Change killprocs to use kill_all instead of killall5William Hubbs
X-Gentoo-Bug:376977 X-Gentoo-Bug-URL:https://bugs.gentoo.org/show_bug.cgi?id=376977