As agreed with anaconda team, they will provide a environment file under /etc/sysconfig (#1722928)
See anaconda pull request for discussion: https://github.com/rhinstaller/anaconda/pull/2042
This commit is contained in:
parent
e9bd9a2128
commit
358f62be8a
@ -7,6 +7,7 @@ Wants=sshd-keygen.target
|
|||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
||||||
|
EnvironmentFile=-/etc/sysconfig/sshd-permitrootlogin
|
||||||
EnvironmentFile=-/etc/sysconfig/sshd
|
EnvironmentFile=-/etc/sysconfig/sshd
|
||||||
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY $PERMITROOTLOGIN
|
ExecStart=/usr/sbin/sshd -D $OPTIONS $CRYPTO_POLICY $PERMITROOTLOGIN
|
||||||
ExecReload=/bin/kill -HUP $MAINPID
|
ExecReload=/bin/kill -HUP $MAINPID
|
||||||
|
@ -6,6 +6,7 @@ After=sshd-keygen.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
EnvironmentFile=-/etc/crypto-policies/back-ends/opensshserver.config
|
||||||
|
EnvironmentFile=-/etc/sysconfig/sshd-permitrootlogin
|
||||||
EnvironmentFile=-/etc/sysconfig/sshd
|
EnvironmentFile=-/etc/sysconfig/sshd
|
||||||
ExecStart=-/usr/sbin/sshd -i $OPTIONS $CRYPTO_POLICY
|
ExecStart=-/usr/sbin/sshd -i $OPTIONS $CRYPTO_POLICY $PERMITROOTLOGIN
|
||||||
StandardInput=socket
|
StandardInput=socket
|
||||||
|
Loading…
Reference in New Issue
Block a user