From fceef7133ed3351f747b9f786c1a68b5cb2f9a02 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 5 Sep 2018 11:47:57 -0400 Subject: [PATCH] touch more cron files to fix hardlinks --- util/MsSql/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/MsSql/entrypoint.sh b/util/MsSql/entrypoint.sh index fe17210417..b136afe83b 100644 --- a/util/MsSql/entrypoint.sh +++ b/util/MsSql/entrypoint.sh @@ -29,7 +29,8 @@ mkhomedir_helper $USERNAME # The rest... -touch /var/log/cron.log +# ref: https://stackoverflow.com/a/38850273 +touch /var/log/cron.log /etc/crontab /etc/cron.*/* chown $USERNAME:$GROUPNAME /var/log/cron.log mkdir -p /etc/bitwarden/mssql/backups chown -R $USERNAME:$GROUPNAME /etc/bitwarden