did away with the inotifyd nonsense

This commit is contained in:
John Lancaster
2024-06-15 14:54:49 -05:00
parent 81bd1006cb
commit 19cad19c06
3 changed files with 8 additions and 2 deletions

View File

@@ -62,3 +62,9 @@ Dry-run a backup
```shell ```shell
docker compose exec backup resticprofile --dry-run backup docker compose exec backup resticprofile --dry-run backup
``` ```
Check crontab entry in container
```shell
docker compose exec backup cat /var/spool/cron/crontabs/root
```

View File

@@ -4,7 +4,7 @@ services:
entrypoint: '/bin/sh' entrypoint: '/bin/sh'
command: command:
- -c - -c
- 'crond && resticprofile-schedule.sh && inotifyd resticprofile-schedule.sh /etc/resticprofile:w' - 'resticprofile-schedule.sh && crond -f'
env_file: env_file:
- .env - .env
hostname: ${HOSTNAME} hostname: ${HOSTNAME}

View File

@@ -2,7 +2,7 @@
set -e set -e
resticprofile unschedule resticprofile unschedule > /dev/null
resticprofile schedule --all resticprofile schedule --all