Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 124271 - ssh reloading from init scripts
Summary: ssh reloading from init scripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-27 08:09 UTC by Michal Fojtik
Modified: 2006-02-27 16:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Fojtik 2006-02-27 08:09:28 UTC
I want to submit reload action for sshd (real reload not restart).

Can you pls add this to /etc/init.d/sshd code:

# add this at start to allow "reload" parameter
opts="${opts} reload"
 
# this does the reload
reload() {
	ebegin "Reloading ${SVCNAME}"
	start-stop-daemon --stop --signal 1 --quiet --pidfile /var/run/${SVCNAME}.pid
	eend $?
}
Comment 1 SpanKY gentoo-dev 2006-02-27 16:09:35 UTC
thanks, added to cvs