SHA256
1
0
forked from pool/openssh

Accepting request 94377 from home:elvigia:branches:network

- Add systemd startup units

OBS-URL: https://build.opensuse.org/request/show/94377
OBS-URL: https://build.opensuse.org/package/show/network/openssh?expand=0&rev=16
This commit is contained in:
Minh Ngo
2011-11-29 19:55:10 +00:00
committed by Git OBS Bridge
parent e4e9974691
commit 2401590e48
4 changed files with 67 additions and 0 deletions

14
sshd.service Normal file
View File

@@ -0,0 +1,14 @@
[Unit]
Description=OpenSSH Daemon
After=syslog.target network.target
[Service]
EnvironmentFile=/etc/sysconfig/ssh
ExecStartPre=/usr/sbin/sshd-gen-keys-start
ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=always
[Install]
WantedBy=multi-user.target