| Summary: | ssh reloading from init scripts | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Michal Fojtik <mifo> |
| Component: | [OLD] baselayout | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
thanks, added to cvs |
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 $? }