fix update from pre-1.46 to post-1.46 not working in docker (#1406)

Signed-off-by: SoongJr <SoongJr@googlemail.com>
This commit is contained in:
SoongJr 2022-01-10 22:25:15 +01:00 committed by GitHub
parent bcd850cc3f
commit dd8fc3dd7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,3 +1,6 @@
#!/bin/bash
set -e
# docker images only
[[ -f /.docker-image ]] && {
@ -8,7 +11,7 @@ ncc notify_push:self-test || {
killall notify_push
sleep 1
start_notify_push
}"
}
EOF
chmod +x /etc/cron.daily/refresh_notify_push
}
@ -41,3 +44,6 @@ EOF
systemctl enable refresh_notify_push.{path,service}
systemctl restart refresh_notify_push.path
}
exit 0