I hereby claim:
- I am hydrian on github.
- I am hydrian (https://keybase.io/hydrian) on keybase.
- I have a public key ASBzYWtzdmvYPxkJCv7B-Zlx_SCONXKVr2_G_aVhdTOd1Ao
To claim this, I am signing this object:
#!/usr/bin/env -S bash | |
logger -p daemon.debug -- "Running $(realpath "$0")" | |
PLEX_BASE_DIR="${PLEX_BASE_NAME:-/var/lib/plexmediaserver}" | |
SERVICE_NAME="plexmediaserver.service" | |
PLEX_USER="${PLEX_USER:-plex}" | |
PLEX_GROUP="${PLEX_GROUP:-plex}" | |
function cleanup { | |
test -e "$TEMP_DIR" && rm -Rf "$TEMP_DIR" | |
return 0 |
#!/usr/bin/env bash | |
############## | |
### Config ### | |
############## | |
DOCKER_CONTAINER_NAMES=( | |
"CONTAINER NAME" | |
"CONTAINER NAME2" | |
) |
object CheckCommand "disk_sudo" { | |
import "plugin-check-command" | |
import "disk" | |
command = [ "/usr/bin/sudo", "/usr/lib/nagios/plugins/check_disk" ] | |
timeout = 1m | |
arguments += { | |
"-A" = { | |
description = "Explicitly select all paths. This is equivalent to -R .*" | |
set_if = "$disk_all$" |
true |
#!/bin/bash | |
ORIG_CERT_FILE="${1}" | |
if [ ! -e "${ORIG_CERT_FILE}" ] ; then | |
echo "${ORIG_CERT_FILE} filename does not exist" 1>&2 | |
exit 2 | |
fi | |
ORIG_CERT_DIR=$(dirname $(realpath "$ORIG_CERT_FILE")) | |
CERT_SUBJECT="$(openssl x509 -in "${ORIG_CERT_FILE}" -noout -subject)" |
I hereby claim:
To claim this, I am signing this object: