kopia lustrzana https://github.com/modem7/docker-borgmatic
added python version to entrypoint
rodzic
210d635ee8
commit
5c16d48eb9
|
@ -5,12 +5,14 @@ dockerver=$(docker --version | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
|
|||
borgver=$(borg --version)
|
||||
borgmaticver=$(borgmatic --version)
|
||||
apprisever=$(apprise --version | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
|
||||
pythonver=$(python3 --version)
|
||||
|
||||
# Software versions
|
||||
echo docker $dockerver
|
||||
echo borgmatic $borgmaticver
|
||||
echo $borgver
|
||||
echo apprise $apprisever
|
||||
echo $pythonver
|
||||
|
||||
# Disable cron if it's set to disabled.
|
||||
if [[ "$CRON" =~ ^(false|disabled|off)$ ]]; then
|
||||
|
|
|
@ -4,11 +4,13 @@
|
|||
borgver=$(borg --version)
|
||||
borgmaticver=$(borgmatic --version)
|
||||
apprisever=$(apprise --version | grep -Eo '[0-9]+\.[0-9]+\.[0-9]+')
|
||||
pythonver=$(python3 --version)
|
||||
|
||||
# Software versions
|
||||
echo borgmatic $borgmaticver
|
||||
echo $borgver
|
||||
echo apprise $apprisever
|
||||
echo $pythonver
|
||||
|
||||
# Disable cron if it's set to disabled.
|
||||
if [[ "$CRON" =~ ^(false|disabled|off)$ ]]; then
|
||||
|
|
Ładowanie…
Reference in New Issue