please include a systemd-service file for Fedora >= 15 it is a bad behavior that F15 replacing upstart with systemd and most services are running in SysV compatibilty mode
You can use these, upstream says license is MIT. https://github.com/falconindy/systemd-arch-units/blob/master/service/sshd@.service https://github.com/falconindy/systemd-arch-units/blob/master/service/sshd.service https://github.com/falconindy/systemd-arch-units/blob/master/socket/sshd.socket -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
(In reply to comment #1) > You can use these, upstream says license is MIT. > https://github.com/falconindy/systemd-arch-units/blob/master/service/sshd@.service > https://github.com/falconindy/systemd-arch-units/blob/master/service/sshd.service > https://github.com/falconindy/systemd-arch-units/blob/master/socket/sshd.socket > It's a joke? -------- Correctly start/stop openssh is not as easy as you think. Much more improved units are packed in the source rpm or git repo. But there are still unsolved problems. 1) in the case of restart service do not kill user child processes, but in the case of shutdown do kill all user child processes. 2) sshd automatically creates /var/run/sshd.pid => the service pid must have other file name (/var/run/sshd-s.pid) and the file content must be copied from /var/run/sshd.pid after starting sshd by the means of initscript / to distinguish it from the sshd run from command line. This 2 problems must be solved before the sshd units may be used. If you can help with it, you will be welcomed.
*** This bug has been marked as a duplicate of bug 697698 ***