on buildds:
- cd ~buildd
- sudo su - buildd
- touch NO-DAEMON-PLEASE EXIT-DAEMON-PLEASE && exit
-
- now wait for the buildd to quit
+ buildds want moving to the new puppetized setup!
upgrade stuff:
more clean ups:
/usr/lib/nagios/plugins/dsa-check-packages | tr -d ,
+
(apt-get purge them)
- apt-get --purge autoremove
+
+ apt-get --purge autoremove &&
+ while [ "$(deborphan -n | wc -l)" -gt 0 ] ; do apt-get purge $(deborphan -n); done &&
+
+ (puppet agent -t || true) && (puppet agent -t || true)
+
+apache cleanup:
+
+ mkdir /etc/apache2/conf.d.WHEEZY &&
+ cd /etc/apache2/conf.d &&
+ for i in *; do
+ diff -u $i ../conf-enabled/$i.conf && mv -v $i ../conf.d.WHEEZY/
+ done &&
+ cd .. &&
+ rmdir conf.d
+
+ per vhost:
+ replace all order allow,deny, allow from all with
+ Require all granted
re-init samhain