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