From c51abfd5582929eae182f26cbd8ccb402dfa212f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20Sch=C3=A4ferdiek?= Date: Tue, 9 Apr 2019 19:11:22 +0200 Subject: [PATCH] Update shebang --- sync | 2 +- usr/share/doc/borgwrapper/.borgwrapper.conf.example | 1 + usr/share/doc/check_updates/.check_updates.conf.example | 1 + usr/share/doc/disk_space_alert/.disk_space_alert.conf.example | 1 + usr/share/doc/docker_check/.docker_check.conf.example | 1 + usr/share/doc/docker_check/docker_check.list.example | 1 + .../doc/memory_usage_alert/.memory_usage_alert.conf.example | 1 + .../doc/smartctl_tests_long/.smartctl_tests_long.conf.example | 1 + usr/share/doc/systemd_check/.systemd_check.conf.example | 1 + .../systemd_failure_notify/.systemd_failure_notify.conf.example | 1 + 10 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 usr/share/doc/docker_check/docker_check.list.example diff --git a/sync b/sync index 6999336..be6aa53 100755 --- a/sync +++ b/sync @@ -1,4 +1,4 @@ -# !/usr/bin/env bash +#!/usr/bin/env bash # # Be careful what you are doing with this script. You may overwrite files. # cd into the repository before executing the script! diff --git a/usr/share/doc/borgwrapper/.borgwrapper.conf.example b/usr/share/doc/borgwrapper/.borgwrapper.conf.example index ecfdfdf..72290b0 100644 --- a/usr/share/doc/borgwrapper/.borgwrapper.conf.example +++ b/usr/share/doc/borgwrapper/.borgwrapper.conf.example @@ -1,3 +1,4 @@ +#!/usr/bin/env bash BORGWRAPPER_BACKUP_NAME="backup-name" BORGWRAPPER_BACKUP_REPOSITORY="/mnt/myBackups/" BORGWRAPPER_BACKUP_FILES=(\ diff --git a/usr/share/doc/check_updates/.check_updates.conf.example b/usr/share/doc/check_updates/.check_updates.conf.example index f14b4b5..a76e16b 100644 --- a/usr/share/doc/check_updates/.check_updates.conf.example +++ b/usr/share/doc/check_updates/.check_updates.conf.example @@ -1 +1,2 @@ +#!/usr/bin/env bash CHECKUPDATES_MAIL_ADDRESS="alias@domain.tld" \ No newline at end of file diff --git a/usr/share/doc/disk_space_alert/.disk_space_alert.conf.example b/usr/share/doc/disk_space_alert/.disk_space_alert.conf.example index 0da8dc6..204f80a 100644 --- a/usr/share/doc/disk_space_alert/.disk_space_alert.conf.example +++ b/usr/share/doc/disk_space_alert/.disk_space_alert.conf.example @@ -1,3 +1,4 @@ +#!/usr/bin/env bash DISK_SPACE_ALERT_MAIL_ADDRESS="alias@domain.tld" #DISK_SPACE_ALERT_THRESHOLD=99 #DISK_SPACE_ALERT_MOUNTPOINTS=("/", "/home") \ No newline at end of file diff --git a/usr/share/doc/docker_check/.docker_check.conf.example b/usr/share/doc/docker_check/.docker_check.conf.example index 6446555..1fc9d7a 100644 --- a/usr/share/doc/docker_check/.docker_check.conf.example +++ b/usr/share/doc/docker_check/.docker_check.conf.example @@ -1,3 +1,4 @@ +#!/usr/bin/env bash #DOCKER_CHECK_LIST_FILE="/root/other/directory/prefix_docker_check.list" #DOCKER_CHECK_NOTIFY_LEVELS=("UNKNOWN" "WARNING" "CRITICAL") #DOCKER_CHECK_MAIL_ENABLED=true diff --git a/usr/share/doc/docker_check/docker_check.list.example b/usr/share/doc/docker_check/docker_check.list.example new file mode 100644 index 0000000..c69a984 --- /dev/null +++ b/usr/share/doc/docker_check/docker_check.list.example @@ -0,0 +1 @@ +demoContainerName \ No newline at end of file diff --git a/usr/share/doc/memory_usage_alert/.memory_usage_alert.conf.example b/usr/share/doc/memory_usage_alert/.memory_usage_alert.conf.example index e091676..ffe9f8b 100644 --- a/usr/share/doc/memory_usage_alert/.memory_usage_alert.conf.example +++ b/usr/share/doc/memory_usage_alert/.memory_usage_alert.conf.example @@ -1,2 +1,3 @@ +#!/usr/bin/env bash MEMORY_USAGE_ALERT_MAIL_ADDRESS="alias@domain.tld" #MEMORY_USAGE_ALERT_THRESHOLD=512 \ No newline at end of file diff --git a/usr/share/doc/smartctl_tests_long/.smartctl_tests_long.conf.example b/usr/share/doc/smartctl_tests_long/.smartctl_tests_long.conf.example index e1d4b68..0a05f97 100644 --- a/usr/share/doc/smartctl_tests_long/.smartctl_tests_long.conf.example +++ b/usr/share/doc/smartctl_tests_long/.smartctl_tests_long.conf.example @@ -1,2 +1,3 @@ +#!/usr/bin/env bash SMARTCTL_TESTS_LONG_MAIL_ADDRESS="alias@domain.tld" #SMARTCTL_TESTS_LONG_DEVICES=(sda sdb) \ No newline at end of file diff --git a/usr/share/doc/systemd_check/.systemd_check.conf.example b/usr/share/doc/systemd_check/.systemd_check.conf.example index 6b1639f..17d37b0 100644 --- a/usr/share/doc/systemd_check/.systemd_check.conf.example +++ b/usr/share/doc/systemd_check/.systemd_check.conf.example @@ -1,3 +1,4 @@ +#!/usr/bin/env bash SYSTEMD_CHECK_MAIL_ENABLED=true SYSTEMD_CHECK_MAIL_ADDRESS="alias@domain.tld" SYSTEMD_CHECK_LIST_FILE="$HOME/.systemd_check.list" \ No newline at end of file diff --git a/usr/share/doc/systemd_failure_notify/.systemd_failure_notify.conf.example b/usr/share/doc/systemd_failure_notify/.systemd_failure_notify.conf.example index 9eb8686..e73981f 100644 --- a/usr/share/doc/systemd_failure_notify/.systemd_failure_notify.conf.example +++ b/usr/share/doc/systemd_failure_notify/.systemd_failure_notify.conf.example @@ -1 +1,2 @@ +#!/usr/bin/env bash SYSTEMD_FAILURE_NOTIFY_MAIL_ADDRESS="alias@domain.tld" \ No newline at end of file