This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Extended 2015 by Andrew Crookston <[email protected]> to use pidfiles instead of process names | |
# Original (c) 2010, Andrew Johnstone andrew @ajohnstone.com | |
# Based on the 'proc_mem' plugin, written by Rodrigo Sieiro rsieiro @gmail.com | |
# | |
# Configure it by using the pidfiles env. Format: name:pidfile name:pidfile. e.g.: | |
# | |
# [proc_cpu_pid] | |
# env.pidfiles munin-node:/var/run/munin/munin-node.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# *** For DSM v6.x *** | |
# | |
# 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 |