did away with the inotifyd nonsense

This commit is contained in:
John Lancaster
2024-06-15 15:11:26 -05:00
parent 7123ccada7
commit a6c089a191
3 changed files with 8 additions and 2 deletions

View File

@@ -62,3 +62,9 @@ Dry-run a backup
```shell
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'
command:
- -c
- 'crond && resticprofile-schedule.sh && inotifyd resticprofile-schedule.sh /etc/resticprofile:w'
- 'resticprofile-schedule.sh && crond -f'
env_file:
- .env
hostname: ${HOSTNAME}

View File

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