summaryrefslogtreecommitdiff
path: root/files/OpenBSD/bin
diff options
context:
space:
mode:
authorJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-23 16:40:33 -0500
committerJerome Charaoui <jcharaoui@cmaisonneuve.qc.ca>2009-12-23 16:40:33 -0500
commitc4649cd122eb73c9dfb5498436abb636174d1180 (patch)
tree8fc6e5c841be5d51bdd3635d4ced74817c96789c /files/OpenBSD/bin
parentd2c4bdf792815f0a0f54d717bdec619f03d984ab (diff)
organize files in subdirectories per type : 'config' for main apache config; 'scripts' for extra shell scripts; 'service' for service default parameters. also, manage apache2.conf on Debian.
Diffstat (limited to 'files/OpenBSD/bin')
-rw-r--r--files/OpenBSD/bin/apache_logrotate.sh7
-rw-r--r--files/OpenBSD/bin/restart_apache.sh6
-rw-r--r--files/OpenBSD/bin/restart_apache_ssl.sh6
3 files changed, 0 insertions, 19 deletions
diff --git a/files/OpenBSD/bin/apache_logrotate.sh b/files/OpenBSD/bin/apache_logrotate.sh
deleted file mode 100644
index c2fcad9..0000000
--- a/files/OpenBSD/bin/apache_logrotate.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-WEBROOT="/var/www/htdocs"
-#PIDFILE="/var/www/logs/httpd.pid"
-echo "#Autogenrated newsyslog.conf\n# logfile_name owner:group mode count size when flags"
-find /var/www/logs -name '*_log' -exec perl -e 'print "\n{}\twww:www\t644\t30\t*\t\$D0\tZ" ' \;
-find $WEBROOT -name '*_log' -exec perl -e 'print "\n{}\twww:www\t644\t30\t*\t\$D0\tZ" ' \;
-perl -e 'print "\t\t \"/bin/sh /opt/bin/restart_apache.sh\"";'
diff --git a/files/OpenBSD/bin/restart_apache.sh b/files/OpenBSD/bin/restart_apache.sh
deleted file mode 100644
index 4dc936d..0000000
--- a/files/OpenBSD/bin/restart_apache.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-ignoreout='Processing config'
-apachectl restart 2>&1 | (egrep -v -e "_default_ VirtualHost overlap on port 443" -e "$ignoreout" -e "/usr/sbin/apachectl restart: httpd restarted" || true )
-sleep 10
-apachectl start 2>&1 | (egrep -v -e "_default_ VirtualHost overlap on port 443" -e "$ignoreout" -e "/usr/sbin/apachectl startssl: httpd started" || true )
diff --git a/files/OpenBSD/bin/restart_apache_ssl.sh b/files/OpenBSD/bin/restart_apache_ssl.sh
deleted file mode 100644
index 314018b..0000000
--- a/files/OpenBSD/bin/restart_apache_ssl.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/sh
-
-ignoreout='Processing config'
-apachectl restart 2>&1 | (egrep -v -e "_default_ VirtualHost overlap on port 443" -e "$ignoreout" -e "/usr/sbin/apachectl restart: httpd restarted" || true )
-sleep 10
-apachectl startssl 2>&1 | (egrep -v -e "_default_ VirtualHost overlap on port 443" -e "$ignoreout" -e "/usr/sbin/apachectl startssl: httpd started" || true )