Skip to content
This repository was archived by the owner on Jan 12, 2022. It is now read-only.

Commit 90064ad

Browse files
committed
Ensure permissions on cronjob are correct
1 parent ff4cfb7 commit 90064ad

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

systemd/postinst.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ else
3232
echo "Moodle data directory already exists"
3333
fi
3434

35+
echo "Adjust cron job permissions"
36+
chmod 644 /etc/cron.d/postgres-backup
37+
3538
echo "Setting up .env file"
3639
if [ ! -f /etc/moodle-docker/.env ]; then
3740
echo "Creating .env from example file"

0 commit comments

Comments
 (0)