Browse code

Fix sshd service file

Change-Id: I6fe012c07963b2bc1f8dad3da82cba107e9f06d1
Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/4178
Tested-by: gerrit-photon <photon-checkins@vmware.com>
Reviewed-by: Anish Swaminathan <anishs@vmware.com>

suezzelur authored on 2017/11/02 03:36:34
Showing 1 changed files
... ...
@@ -1,7 +1,7 @@
1 1
 Summary:    Free version of the SSH connectivity tools
2 2
 Name:       openssh
3 3
 Version:    7.4p1
4
-Release:    4%{?dist}
4
+Release:    5%{?dist}
5 5
 License:    BSD
6 6
 URL:         https://www.openssh.com/
7 7
 Group:      System Environment/Security
... ...
@@ -68,7 +68,7 @@ After=network.target sshd-keygen.service
68 68
 
69 69
 [Service]
70 70
 ExecStart=/usr/sbin/sshd -D
71
-ExecReload=/bin/kill -HUP $MAINPID
71
+ExecReload=/bin/kill -HUP \$MAINPID
72 72
 KillMode=process
73 73
 Restart=always
74 74
 
... ...
@@ -142,6 +142,8 @@ rm -rf %{buildroot}/*
142 142
 %{_mandir}/man8/*
143 143
 %attr(700,root,sys)/var/lib/sshd
144 144
 %changelog
145
+*   Thu Nov 02 2017 Anish Swaminathan <anishs@vmware.com> 7.4p1-5
146
+-   Fix service file for sshd
145 147
 *   Fri May 19 2017 Alexey Makhalov <amakhalov@vmware.com> 7.4p1-4
146 148
 -   Configure FIPS mode: call FIPS_mode_set(1) earlier.
147 149
 *   Thu Feb 09 2017 Anish Swaminathan <anishs@vmware.com> 7.4p1-3