prettify init base image script

This commit is contained in:
Girish Ramakrishnan
2016-12-27 14:12:31 -08:00
parent 745b7a26b7
commit b1854f82f2
2 changed files with 40 additions and 46 deletions
+8 -1
View File
@@ -134,5 +134,12 @@ ln -s "${DATA_DIR}/nginx" /etc/nginx
cp "${container_files}/mysql.cnf" /etc/mysql/mysql.cnf
########## Enable services
update-rc.d -f collectd defaults
systemctl restart collectd
# For logrotate
systemctl enable cron
# DO uses Google nameservers by default. This causes RBL queries to fail (host 2.0.0.127.zen.spamhaus.org)
# We do not use dnsmasq because it is not a recursive resolver and defaults to the value in the interfaces file (which is Google DNS!)
systemctl enable unbound