- Check for existing persistent limits:
curl -X GET "http://archivist-es:9200/_cluster/settings" -u elastic:${ELASTIC_PASSWORD}If limits are already set up, reset them first:
curl -X GET "http://archivist-es:9200/_cluster/settings" -u elastic:${ELASTIC_PASSWORD}If limits are already set up, reset them first:
| #! /bin/bash | |
| # NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION | |
| # Developed for DSM 6. Not tested on other versions. | |
| # Steps to install | |
| # Save this script in one of your shares | |
| # Backup /usr/syno/share/nginx/ as follows: | |
| # # cd /usr/syno/share/ | |
| # # tar cvf ~/nginx.tar nginx | |
| # Run this script as root |
| #!/usr/bin/env bash | |
| # Check Plex iHD driver. If exists, delete. Should fix buffering on HW Transcoding. | |
| file="/volume1/@appstore/Plex Media Server/lib/dri/iHD_drv_video.so" | |
| filebackup="/volume1/@appstore/Plex Media Server/lib/dri/iHD_drv_video.so.bak" | |
| if [ -f "$file" ] ; then | |
| echo "Stopping Plex"; echo; | |
| synoservicectl --stop "pkgctl-Plex Media Server" ; | |
| echo "Found iHD, deleting..."; echo; |