mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 11:12:48 +01:00
acmesh-ssl.bash: add Ergo IRCd (as Oragono due to prod)
Special thanks to Spydar007 for noticing that I was restarting it UTC 00 instead of just reloading.
This commit is contained in:
parent
45a9cc0ba2
commit
358b65f791
@ -20,6 +20,7 @@ SYNCPLAYDIR=/opt/syncplay/ssl
|
||||
MUMBLEDIR=/var/lib/mumble-server/ssl
|
||||
ZNCDIR=/home/znc/.znc/ssl
|
||||
NGINXDIR=/etc/nginx/ssl
|
||||
ORAGONODIR=/home/oragono/oragono-conf
|
||||
|
||||
# Where is acme.sh + flags applying to them all
|
||||
ACMESH="/root/.acme.sh/acme.sh --install-cert -d $DOMAINNAME"
|
||||
@ -53,3 +54,8 @@ chown -R znc:znc $ZNCDIR
|
||||
$ACMESH --key-file $NGINXDIR/key.pem --fullchain-file $NGINXDIR/cert.pem --reloadcmd "$SYSTEMCTLRESTART nginx"
|
||||
chmod -R 700 $NGINXDIR
|
||||
chown -R root:root $NGINXDIR
|
||||
|
||||
# Egro IRCd, previously known as Oragono
|
||||
$ACMESH --key-file $ORAGONODIR/privkey.pem --fullchain-file $ORAGONODIR/fullchain.pem --reloadcmd "$SYSTEMCTLRELOAD oragono"
|
||||
chmod -R 700 $ORAGONODIR
|
||||
chown -R oragono:oragono $ORAGONODIR
|
||||
|
Loading…
Reference in New Issue
Block a user