some scripts updates
This commit is contained in:
parent
675a448750
commit
126d1ad2c1
2 changed files with 8 additions and 6 deletions
|
|
@ -16,10 +16,11 @@ done
|
|||
mv /etc/lighttpd/vhosts.d/systems.findeisen.conf /etc/lighttpd/vhosts.d/systems.findeisen.conf.nossl
|
||||
mv /etc/lighttpd/vhosts.d/systems.findeisen.conf.ssl /etc/lighttpd/vhosts.d/systems.findeisen.conf
|
||||
|
||||
cat /etc/acme/mail2.zynk.org/fullchain.cer > /opt/mailcow-dockerized/data/assets/ssl/mail2.zynk.org/cert.pem
|
||||
cat /etc/acme/mail2.zynk.org/mail2.zynk.org.key > /opt/mailcow-dockerized/data/assets/ssl/mail2.zynk.org/key.pem
|
||||
cat /etc/acme/mail.xw3.org/fullchain.cer > /opt/mailcow-dockerized/data/assets/ssl/mail.xw3.org/cert.pem
|
||||
cat /etc/acme/mail.xw3.org/mail.xw3.org.key > /opt/mailcow-dockerized/data/assets/ssl/mail.xw3.org/key.pem
|
||||
|
||||
/etc/init.d/lighttpd restart
|
||||
/etc/init.d/nginx restart
|
||||
/etc/init.d/prosody restart
|
||||
|
||||
cd /opt/mailcow-dockerized
|
||||
|
|
|
|||
|
|
@ -3,8 +3,9 @@
|
|||
# this one is creating my /etc/motd file via cron to get some network
|
||||
# statistics when logging in to my servers.
|
||||
|
||||
echo "" > /etc/motd
|
||||
hostname -f >> /etc/motd
|
||||
echo "" >> /etc/motd
|
||||
vnstat >> /etc/motd
|
||||
#echo "" >> /etc/motd
|
||||
vnstat -i eth0 -h 24 > /etc/motd
|
||||
#vnstat -i eth0 -d 7 >> /etc/motd
|
||||
#vnstat -i eth0 -m 6 >> /etc/motd
|
||||
#vnstat -i eth0 -y 6 >> /etc/motd
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue