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:
14
sshd.service
Normal file
14
sshd.service
Normal 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
|
Reference in New Issue
Block a user