We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0d710b1 + 141adf5 commit ef35c06Copy full SHA for ef35c06
pkg/cidata/cidata.TEMPLATE.d/boot/11-colorterm-environment.sh
@@ -24,7 +24,11 @@ else
24
fi
25
26
if [ -f /sbin/openrc-run ]; then
27
- rc-service --ifstarted sshd reload
+ if [ -f etc/init.d/ssh ]; then
28
+ rc-service --ifstarted ssh reload
29
+ elif [ -f etc/init.d/sshd ]; then
30
+ rc-service --ifstarted sshd reload
31
+ fi
32
elif command -v systemctl >/dev/null 2>&1; then
33
if systemctl -q is-active ssh; then
34
systemctl reload ssh
0 commit comments