LAN TEST INSTALLATION (NOT FOR PRODUCTION!)
- CPU: 2 vCores
- RAM: 4 GiB (+ 1 GiB Swap)
- HDD/SSD: minimum 32 GiB (recommended 80 GiB)
https://docs.joinmastodon.org/admin/install/ (Git Log & Wayback Machine)
See file Update.md for upgrade notes!
LAN TEST INSTALLATION (NOT FOR PRODUCTION!)
https://docs.joinmastodon.org/admin/install/ (Git Log & Wayback Machine)
See file Update.md for upgrade notes!
| ACTION=="bind", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="32d2", TAG+="systemd", ENV{SYSTEMD_WANTS}="usbcopy-canon-m50.service" | |
| ACTION=="bind", SUBSYSTEMS=="usb", ATTRS{idVendor}=="04b0", ATTRS{idProduct}=="019a", TAG+="systemd", ENV{SYSTEMD_WANTS}="usbcopy-nikon-s9900.service" | |
| #ACTION=="bind", SUBSYSTEMS=="usb", ATTRS{idVendor}=="0123", ATTRS{idProduct}=="4567", ENV{ID_SERIAL_SHORT}=="89abcdef", TAG+="systemd", ENV{SYSTEMD_WANTS}="usbcopy-example.service" | 
| #!/bin/sh | |
| status=0 | |
| if [ "$#" -lt 1 ] | |
| then | |
| week=$((($(date +%-d) + 6) / 7)) | |
| else | |
| week=$1 | |
| fi | 
| #! /bin/sh | |
| # | |
| # Calomel.org | |
| # https://calomel.org/zfs_health_check_script.html | |
| # FreeBSD ZFS Health Check script | |
| # zfs_health.sh @ Version 0.18.2+fnx1 | |
| # Check health of ZFS volumes and drives. On any faults send email. | |
| ### DISCLAIMER AND CHANGES | 
| #!/bin/sh | |
| # How to use this script: | |
| # 1. Get your 3 PEM files ready to copy over from your local machine/update server (privkey.pem, fullchain.pem, cert.pem) | |
| # and put into a directory (this will be $CERT_DIRECTORY). | |
| # 2. Ensure you have a user setup on synology that has ssh access (and ssh access is setup). | |
| # This user will need to be able to sudo as root (i.e. add this line to sudoers, <USER> is the user you create): | |
| # <USER> ALL=(ALL) NOPASSWD: /var/services/homes/<USER>/replace_certs.sh | |
| # 3. Call this script as follows: | |
| # sudo scp ${CERT_DIRECTORY}/{privkey,fullchain,cert}.pem $USER@$SYNOLOGY_SERVER:/tmp/ \ | |
| # && sudo scp replace_synology_ssl_certs.sh $USER@$SYNOLOGY_SERVER:~/ \ | 
| /var/log/nginx/misc/protocol.log { | |
| daily | |
| missingok | |
| rotate 0 | |
| notifempty | |
| create 0640 www-data adm | |
| sharedscripts | |
| prerotate | |
| if [ -d /etc/logrotate.d/httpd-prerotate ]; then \ | |
| run-parts /etc/logrotate.d/httpd-prerotate; \ | 
| /*********************************************************************** | |
| * | |
| * THUNDERBIRD 68 FOLDER PANE ICONS FOR THUNDERBIRD 91 | |
| * https://gist.github.com/200326b3228bfdc45e2830df9557d624 | |
| * | |
| * Save this file as ~/.thunderbird/*.default/chrome/userChrome.css | |
| * and set toolkit.legacyUserProfileCustomizations.stylesheets=true! | |
| * | |
| * Credits for CSS: Code snippet from EDV-Oldie @ thunderbird-mail.de | |
| * https://thunderbird-mail.de/forum/thread/84727?postID=462266#post462266 |