We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6587eca commit 17e5567Copy full SHA for 17e5567
ebssurrogate/scripts/surrogate-bootstrap.sh
@@ -238,6 +238,9 @@ function clean_system {
238
chroot /mnt /usr/bin/chown -R postgres:postgres /var/log/wal-g
239
chroot /mnt /usr/bin/chmod -R 0300 /var/log/wal-g
240
241
+ # audit logs directory for apparmor
242
+ mkdir /mnt/var/log/audit
243
+
244
# unwanted files
245
rm -rf /mnt/var/lib/apt/lists/*
246
rm -rf /mnt/root/.cache
scripts/91-log_cleanup.sh
@@ -19,5 +19,3 @@ touch backup-push.log backup-fetch.log wal-push.log wal-fetch.log
19
chown -R postgres:postgres /var/log/wal-g
20
chmod -R 0300 /var/log/wal-g
21
22
-# audit logs directory for apparmor
23
-mkdir /var/log/audit
0 commit comments