forked from pool/openssh
2401590e48
- 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
15 lines
302 B
Desktop File
15 lines
302 B
Desktop File
[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
|