1c8c71654f
Use openssh-config package to package config and service files for openssh package. Merge adding source patch and spec related change to one meta patch named spec-include-Tis-chnages.patch. Deployment test and ping test between VMs pass Config files check pass. Story: 2003768 Task: 27588 Change-Id: I77cd054707d11dace1c47e8477d0e30b69719a38 Signed-off-by: zhipengl <zhipengs.liu@intel.com>
19 lines
413 B
Desktop File
19 lines
413 B
Desktop File
[Unit]
|
|
Description=OpenSSH server daemon
|
|
Documentation=man:sshd(8) man:sshd_config(5)
|
|
After=network.target sshd-keygen.service
|
|
Wants=sshd-keygen.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/sysconfig/sshd
|
|
ExecStart=/etc/init.d/sshd start
|
|
ExecStop=/etc/init.d/sshd stop
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
PIDFile=/var/run/sshd.pid
|
|
KillMode=none
|
|
#Restart=on-failure
|
|
#RestartSec=42s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|