Skip to content

Commit

Permalink
Added a command to enable Apache's mod_headers (even though it won't be
Browse files Browse the repository at this point in the history
used for anything until the apache2 package is installed by the user).

Signed-off-by: The Doctor <[email protected]>
  • Loading branch information
virtadpt committed Aug 19, 2016
1 parent 74fdc45 commit f263ad8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions 16.04-lts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ echo "smtp_tls_note_starttls_offer = yes" >> /etc/postfix/main.cf
echo "smtpd_tls_received_header = yes" >> /etc/postfix/main.cf
echo "" >> /etc/postfix/main.cf

# Ensure that the Apache mod_headers module is enabled so that, if apache2 is
# installed and enabled, it won't scream and die.
ln -s /etc/apache2/mods-available/headers.load \
/etc/apache2/mods-enabled/headers.load

# Build the initial AIDE database.
echo "Building initial AIDE database. Please be patient, this takes a while."
aide.wrapper --init
Expand Down

0 comments on commit f263ad8

Please sign in to comment.