mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
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:
parent
bcd850cc3f
commit
dd8fc3dd7d
@ -1,3 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
# docker images only
|
# docker images only
|
||||||
[[ -f /.docker-image ]] && {
|
[[ -f /.docker-image ]] && {
|
||||||
@ -8,7 +11,7 @@ ncc notify_push:self-test || {
|
|||||||
killall notify_push
|
killall notify_push
|
||||||
sleep 1
|
sleep 1
|
||||||
start_notify_push
|
start_notify_push
|
||||||
}"
|
}
|
||||||
EOF
|
EOF
|
||||||
chmod +x /etc/cron.daily/refresh_notify_push
|
chmod +x /etc/cron.daily/refresh_notify_push
|
||||||
}
|
}
|
||||||
@ -41,3 +44,6 @@ EOF
|
|||||||
systemctl enable refresh_notify_push.{path,service}
|
systemctl enable refresh_notify_push.{path,service}
|
||||||
systemctl restart refresh_notify_push.path
|
systemctl restart refresh_notify_push.path
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
exit 0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user