forked from rpms/openssh
Do not require sysconfig file to start service (#1279521)
This commit is contained in:
parent
ef86a312db
commit
5410d2d3a7
@ -5,7 +5,7 @@ After=network.target sshd-keygen.service
|
|||||||
Wants=sshd-keygen.service
|
Wants=sshd-keygen.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=/etc/sysconfig/sshd
|
EnvironmentFile=-/etc/sysconfig/sshd
|
||||||
ExecStart=/usr/sbin/sshd -D $OPTIONS
|
ExecStart=/usr/sbin/sshd -D $OPTIONS
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
KillMode=process
|
KillMode=process
|
||||||
|
Loading…
Reference in New Issue
Block a user