did away with the inotifyd nonsense
This commit is contained in:
@@ -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
|
||||
```
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
resticprofile unschedule
|
||||
resticprofile unschedule > /dev/null
|
||||
|
||||
resticprofile schedule --all
|
||||
|
||||
|
||||
Reference in New Issue
Block a user