Skip to content

Instantly share code, notes, and snippets.

View vchatela's full-sized avatar
🎯
Focusing

Valentin C. vchatela

🎯
Focusing
View GitHub Profile
@vchatela
vchatela / plex_update_vchatela.sh
Created November 25, 2020 11:14
Fork of https://github.com/martinorob/plexupdate/ to add renew of HTTPS cert after upgrade
#!/bin/bash
# Script to automagically update Plex Media Server on Synology NAS
#
# Must be run as root.
#
# @author @martinorob https://github.com/martinorob
# https://github.com/martinorob/plexupdate/
# @vchatela: I have added the renew of the plex certificate for HTTPS after upgrade
@vchatela
vchatela / force_renew_plex_cert.sh
Last active November 25, 2020 11:18
Force renewal of plex certificate based on Synology one (letsencrypt)
#!/bin/sh
# CONFIGURATION
# Please modify SERVERNAME and AAAAAAAAAAAA password in $p12_file_path and $p12cert_password
script_folder=/volume1/tools/plex/
plex_folder="/var/packages/Plex Media Server"
# p12 file
p12_file_path="${plex_folder}"/SERVERNAME.p12
echo $p12_file_path
@vchatela
vchatela / download_all_dockers_v2.sh
Created November 25, 2020 11:24
Script to update once a week all docker images before updating containers
#!/bin/bash
declare -A docker_array
# Customize your own list... hereunder are some of mines
docker_array[linuxserver/radarr]=linuxserver-radarr1
docker_array[linuxserver/jackett]=linuxserver-jackett1
docker_array[linuxserver/sonarr]=linuxserver-sonarr1
docker_array[linuxserver/tautulli]=linuxserver-tautulli1