diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-03-15 18:01:06 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-03-15 18:06:04 +0300 |
commit | b3be94805031b7ca23e54de78ba4543d9ecfd97e (patch) | |
tree | ca7b8ce546df905f47af5bbac6b291d47bb72050 /etc/nextcloudpi-config.d | |
parent | 2c1f8b4f167c467c4044ecf93bd4d592b4787cb2 (diff) |
improve dependency of database with automountv0.47.2
Diffstat (limited to 'etc/nextcloudpi-config.d')
-rw-r--r-- | etc/nextcloudpi-config.d/nc-automount.sh | 3 |
1 files changed, 2 insertions, 1 deletions
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() |