diff options
Diffstat (limited to 'services/docker/blog/daemon.bash')
-rwxr-xr-x | services/docker/blog/daemon.bash | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/services/docker/blog/daemon.bash b/services/docker/blog/daemon.bash deleted file mode 100755 index 561a80a..0000000 --- a/services/docker/blog/daemon.bash +++ /dev/null @@ -1,19 +0,0 @@ -#! /usr/bin/env bash - -set -e - -# Check I'm root. -if [[ $EUID -ne 0 ]]; then - echo "This script must be run as root" 1>&2 - exit 1 -fi - -hugo version - -while true; do - /scripts/update.bash - - # sleep for CRUPEST_AUTO_BACKUP_INTERVAL - echo "Sleep for $CRUPEST_BLOG_UPDATE_INTERVAL for next build..." - sleep "$CRUPEST_BLOG_UPDATE_INTERVAL" -done |