diff options
-rw-r--r-- | changelog.md | 6 | ||||
-rw-r--r-- | etc/nextcloudpi-config.d/nc-automount.sh | 3 | ||||
-rwxr-xr-x | update.sh | 4 |
3 files changed, 10 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md index 72911ec6..c1c082af 100644 --- a/changelog.md +++ b/changelog.md @@ -1,7 +1,9 @@ -[v0.47.1](https://github.com/nextcloud/nextcloudpi/commit/188da78) (2018-03-10) update: make sure redis log exists +[v0.47.2](https://github.com/nextcloud/nextcloudpi/commit/3766959) (2018-03-15) improve dependency of database with automount -[v0.47.0](https://github.com/nextcloud/nextcloudpi/commit/8c7a4f3) (2018-03-05) added nc-zram +[v0.47.1 ](https://github.com/nextcloud/nextcloudpi/commit/9f6c479) (2018-03-10) update: make sure redis log exists + +[v0.47.0 ](https://github.com/nextcloud/nextcloudpi/commit/8c7a4f3) (2018-03-05) added nc-zram [v0.46.40](https://github.com/nextcloud/nextcloudpi/commit/0d9d2e4) (2018-03-04) nc-backup-auto: change to using cron diff --git a/etc/nextcloudpi-config.d/nc-automount.sh b/etc/nextcloudpi-config.d/nc-automount.sh index 3841e0ab..8577b7d8 100644 --- a/etc/nextcloudpi-config.d/nc-automount.sh +++ b/etc/nextcloudpi-config.d/nc-automount.sh @@ -98,7 +98,8 @@ EOF chmod +x /usr/local/etc/nc-automount-links-mon # delay init because of automount - sed -i "/^ExecStart=/iExecStartPre=/bin/sleep 10" /lib/systemd/system/mariadb.service + sed -i "/^ExecStart=/iExecStartPre=/bin/sleep 20" /lib/systemd/system/mariadb.service + sed -i 's|^Restart=.*|Restart=on-failure|' /lib/systemd/system/mariadb.service } configure() @@ -261,6 +261,10 @@ EOF mkdir -p /var/log/redis chown redis /var/log/redis + # improve dependency of database with automount + sed -i 's|^ExecStartPre=/bin/sleep .*|ExecStartPre=/bin/sleep 20|' /lib/systemd/system/mariadb.service + sed -i 's|^Restart=.*|Restart=on-failure|' /lib/systemd/system/mariadb.service + } # end - only live updates exit 0 |