~paulgear/charms/trusty/quassel-core/trunk

« back to all changes in this revision

Viewing changes to hooks/config-changed

  • Committer: Paul Gear
  • Date: 2015-03-30 06:30:16 UTC
  • Revision ID: paul.gear@canonical.com-20150330063016-472j1gnserr9yz6i
Fix bad reformatting

Show diffs side-by-side

added added

removed removed

Lines of Context:
49
49
if [ ! -e $CERT ]; then
50
50
    echo "Generating SSL certificate $CERT - $key_size bits, validity $certificate_days days"
51
51
    openssl req -x509 -nodes -batch -days $certificate_days -newkey rsa:$key_size -keyout $CERT \
52
 
        -out $CERT chown $QUASSEL_USER:$QUASSEL_GROUP $CERT
 
52
        -out $CERT
 
53
    chown $QUASSEL_USER:$QUASSEL_GROUP $CERT
53
54
    chmod 640 $CERT
54
55
fi
55
56