acmesh-ssl.bash: fix synxcplay command

This commit is contained in:
Aminda Suomalainen 2019-08-09 19:37:06 +03:00
parent 0a72f992e4
commit 73d6d4aea6
No known key found for this signature in database
GPG Key ID: 0C207F07B2F32B67

View File

@ -29,8 +29,8 @@ SYSTEMCTLRESTART="systemctl restart --quiet"
# Start by creating the directories if they don't exist
/bin/mkdir -p $SYNCPLAYDIR $MUMBLEDIR $ZNCDIR
# Syncplay - TODO https://github.com/Syncplay/syncplay/issues/250
$ACMESH --cert-file $SYNCPLAYDIR/cert.pem --key-file $SYNCPLAYDIR/privkey.pem --fullchain-file $SYNCPLAYDIR/chain.pem --reloadcmd "$SYSTEMCTLRESTART syncplay-server"
# Syncplay
$ACMESH --cert-file $SYNCPLAYDIR/cert.pem --key-file $SYNCPLAYDIR/privkey.pem --ca-file $SYNCPLAYDIR/chain.pem
chmod -R 700 $SYNCPLAYDIR
chown -R syncplay:root $SYNCPLAYDIR