probe-backup-files:
[ -f /sqldump ]
[ -f /sites && -d /sites ]
+# [ -f /boycottsony.org.conf ]
+# [ -f /dayagainstdrm.org.conf ]
+# [ -f /rotten-apple.org.conf ]
+# [ -f /defectivebydesign.org.conf ]
install-sqldump:
# source the dump twice - once to create the DB, once to populate it
cd /var/www/html
cp -r /sites sites
+#install-apache-sites-conf:
+# cp /*.conf /etc/apache2/sites-available/
+# a2ensite boycottsony.org
+# a2ensite dayagainstdrm.org
+# a2ensite rotten-apple.org
+# a2ensite www.defectivebydesign.org
+# systemctl reload apache2
+
# recipes for building a chroot. notice that sql does not cooperate with chroots, due to some funky postinstall hooks and /proc namespaces conflicting
build-chroot: new-chroot install-pkgs-in-chroot install-drupal-toolchain