Debian Codegraph @

debian/tests/test-tunneled-ssh.d/set-sslprotocol

raw
1 #!/bin/sh
2
3 set -e
4
5 protocol=$1
6
7 for site_config in "vhost*.conf"; do
8 sed --in-place -e "/^\\tSSLProtocol/ s/ .*\$/ $protocol/" /etc/apache2/sites-available/$site_config
9 done
10
11 systemctl reload apache2.service