mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-12-14 17:58:07 +00:00
fix: use posix source cmd
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
10 2 * * * source /env.sh && /backup.sh && rcb cleanup > /proc/1/fd/1
|
10 2 * * * . /env.sh && /backup.sh && rcb cleanup > /proc/1/fd/1
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import os
|
|||||||
|
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
default_backup_command = "source /env.sh && /backup.sh && rcb cleanup > /proc/1/fd/1"
|
default_backup_command = ". /env.sh && /backup.sh && rcb cleanup > /proc/1/fd/1"
|
||||||
default_crontab_schedule = "0 2 * * *"
|
default_crontab_schedule = "0 2 * * *"
|
||||||
|
|
||||||
"""Bag for config values"""
|
"""Bag for config values"""
|
||||||
|
|||||||
Reference in New Issue
Block a user