| /[baselayout]/trunk/sbin/rc-daemon.sh |
Parent Directory
|
Revision Log
New variable RC_ULIMIT applies ulimit commands before starting a service.
This should be configured in /etc/conf.d/foo for service foo, but can also
be configured in /etc/conf.d/rc on a global basis.
RC_DAEMON now works in a similar way, instead of RC_DAEMON_foo.
Fixes, #120151.
Fix quoting in iwconfig, #119629.
Fix process pid selection in rc-daemon.sh, #119631.
Both of the above thanks to Dominik Buerkle.
init scripts no longer run during the sysinit runlevel, #118419.
Thanks to Greg KH and the Linux Hotplug mailing list for advice.
Misc quoting fixes. Fixed scheduling restart services a little.
Always call rc_stop_daemon on start failure to clean up
rc-status now loads a config profile and we no longer call a service stop function when it's not running.
start-stop-daemon now waits for upto 1 second if it returns 0 and we
don't have a valid process.
more copyright updates
More bash-3.1 fixes
update copyright years
Fixed stopping when no process to stop
rc-daemon.sh now kills children correctly.
arping now dis-regards 0.0.0.0 and 0 addresses, #108737.
dhcpcd now allows the user to configure the -c script option, #108345.
bash doesn't handle floats, so we eumlate it. Fixes the issue
where some daemons didn't stop, #107492. Thanks to Giampaolo Tomassoni.
Added ifplugd module, but we prefer netplug by default
Protect variables when stopping a script on update status
service status requests (either by /etc/init.d/foo status or rc-status)
now update the service status by checking daemons and/or pidfiles to check if they are still running or not. To update the status in your own code,
source "${svclib}/sh/rc-daemon.sh" and call
update_service_status "${service}"
Trimmed $Header$ from a few files
rc-daemon now handles --signal correct - fixes #103182
RC_AUTO_INTERFACE defaults to NO - but we still default to DHCP consoletype is now cached. This has the benefit of being very slightly faster and you now get coloured text for parallel startup Parallel startup also does parallel shutdown as well You're now warned if you're using a deprecated conf.d/net syntax
Add support for --pid and --pidfile= in rc-daemon.sh
interface state directories are now created with -m 0755 to ensure that everyone can read them rc-daemon.sh now supports multiple cmds - partial fix for #98745
rc-daemon now works with mysql - fixes #100982, thanks to bju from the forums
modified to use bash_variable
added a bash_variable to functions.sh which converts the given string
into a variable that bash can use - fixes #88175
net scripts can only launch if we're not in ${BOOTLEVEL}
removed test vars
regressed by mistake - here is correct version
RC_DAEMON_syslog_ng allows syslog-ng to be started with the specified launcher - like valgrind or strace. Handy for debugging/auditing. Thanks to Rob Holland for the idea. Stopped setting ESSID in predown functions in iwconfig and wpa_supplicant as there is no guarantee that the current ESSID is the one we started with Also, we may not have an ESSID at all...
wrap pidof so we can fudge calls to weird programs like rpc.nfsd which only with with pidof when the rpc. is removed
prepend rc-daemon.sh functions with rc_ to avoid name conflicts
changed from $( cat ${file} ) to $( < ${file ) in net-scripts
fixed ChangeLog corruption
rc-daemon.sh now works with the env program
fixed stopping logic causes by last commit
fixed starting bug with sshd
rc-daemon.sh now waits for RC_WAIT_ON_START seconds and checks if the daemon is still running - if not, call stop() or stop_daemon() to clean up
rc-daemon.sh now support stoppings with a custom signal
rc-daemon.sh now checks to see if a given pid matches the pid of a given executable before stopping it
net_service() now returns 1 for non net-services - fixes bug #83352 rc-daemon.sh now uses requote()
rc-daemon.sh can now be called with spaces in parameters
improved killing process children - we now kill them all in one hit instead of doing them seperately
support --oknodo and --test for start-stop-daemon calls
rc-daemon.sh now provides a working wrapper for start-stop-daemon fixes bug #7198 removed ps calls from net scripts
fix copyright lines
update copyright years
Do not use depinfo_<scriptname>() functions to set rc_<type> variables, bug #24092
bugfixes
fix net.ppp0 issues for kppp; dependency fixes
new release; supporting parallel startup and new dep system with many fixes
updates from Rach
lot of changes; hopeful release of rc-scripts-1.4.3.0
fix sourcing of helper scripts
move daemon stuff to rc-daemon.sh
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| ViewVC Help | |
| Powered by ViewVC 1.1.20 |