openrc/sh
William Hubbs 6b3a4110cc runscript: fix stopping changed service issues
If an init script or service was upgraded while it was running and the
settings for the pid file, command and process name were changed, it
would not be possible to stop the old service.

Runscript now saves the values it used to start the service and re-uses
them to stop the service.

Reported-by: flameeyes@gentoo.org
X-Gentoo-Bug: 434032
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=434032
2013-01-15 12:14:05 -06:00
..
.gitignore move rc_svcdir to /run/openrc on Linux systems 2012-05-14 13:49:06 -05:00
cgroup-release-agent.sh.in CGroups: create the openrc cgroup hierarchy 2011-11-20 14:07:46 -06:00
functions.sh.in checkbashisms: clean up export statements. 2012-11-07 00:22:33 +00:00
gendepends.sh.in checkbashisms: clean up export statements. 2012-11-07 00:22:33 +00:00
ifwatchd-carrier.sh.in checkbashisms: clean up export statements. 2012-11-07 00:22:33 +00:00
ifwatchd-nocarrier.sh.in checkbashisms: clean up export statements. 2012-11-07 00:22:33 +00:00
init-common-post.sh.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
init-early.sh.Linux.in Fix early consolefont/termencoding usage vs rc_sys 2012-02-09 01:53:46 -08:00
init.sh.BSD.in drop useless "All rights reserved" notice 2011-06-29 19:46:31 -04:00
init.sh.Linux.in Set a default size for /run on Linux 2012-12-22 08:37:45 -06:00
Makefile move rc_svcdir to /run/openrc on Linux systems 2012-05-14 13:49:06 -05:00
migrate-to-run.sh.in migrate-to-run: do not require a reboot 2012-12-06 16:43:24 -06:00
rc-functions.sh.in checkbashisms: clean up export statements. 2012-11-07 00:22:33 +00:00
rc-mount.sh make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
runscript.sh.in runscript: fix stopping changed service issues 2013-01-15 12:14:05 -06:00
runtests.sh make shell math operations style more succulent 2011-11-19 02:25:36 -05:00
tmpfiles.sh.in tmpfiles: fix bashism 2012-11-06 16:32:59 -06:00
udhcpc-hook.sh.in udhcpc: fix resolv.conf setting for domain 2012-12-22 09:38:38 -06:00