aboutsummaryrefslogtreecommitdiff
path: root/bugzilla/etc
diff options
context:
space:
mode:
Diffstat (limited to 'bugzilla/etc')
-rw-r--r--bugzilla/etc/cron.d/bugzilla3
-rw-r--r--bugzilla/etc/nginx/sites-available/bugzilla41
-rwxr-xr-xbugzilla/etc/service/bugzilla/log/run3
-rwxr-xr-xbugzilla/etc/service/bugzilla/run10
-rwxr-xr-xbugzilla/etc/service/cron/log/run3
-rwxr-xr-xbugzilla/etc/service/cron/run3
-rwxr-xr-xbugzilla/etc/service/nginx/log/run3
-rwxr-xr-xbugzilla/etc/service/nginx/run3
-rwxr-xr-xbugzilla/etc/service/syslog-ng/run3
-rw-r--r--bugzilla/etc/syslog-ng/syslog-ng.conf6
10 files changed, 0 insertions, 78 deletions
diff --git a/bugzilla/etc/cron.d/bugzilla b/bugzilla/etc/cron.d/bugzilla
deleted file mode 100644
index 8853366..0000000
--- a/bugzilla/etc/cron.d/bugzilla
+++ /dev/null
@@ -1,3 +0,0 @@
15 0 * * * bugzilla cd /var/www/html/bugzilla && ./collectstats.pl
2*/15 * * * * bugzilla cd /var/www/html/bugzilla && ./whine.pl
30 * * * * bugzilla cd /var/www/html/bugzilla && ./whineatnews.pl
diff --git a/bugzilla/etc/nginx/sites-available/bugzilla b/bugzilla/etc/nginx/sites-available/bugzilla
deleted file mode 100644
index d10798f..0000000
--- a/bugzilla/etc/nginx/sites-available/bugzilla
+++ /dev/null
@@ -1,41 +0,0 @@
1server {
2 root /var/www/html/bugzilla;
3
4 autoindex off;
5 index index.cgi;
6
7 location /attachments { return 403; }
8 location /Bugzilla { return 403; }
9 location /lib { return 403; }
10 location /template { return 403; }
11 location /contrib { return 403; }
12 location /t { return 403; }
13 location /xt { return 403; }
14 location /data { return 403; }
15 location /graphs { return 403; }
16 location ~ (\.pm|\.pl|\.psgi|\.tmpl|localconfig.*|cpanfile)$ { return 403; }
17
18 location ~ ^/data/webdot/[^/]*\.png$ { }
19 location ~ ^/graphs/[^/]*\.(png|gif) { }
20
21 location /rest {
22 rewrite ^/rest/(.*)$ rest.cgi?$1 last;
23 }
24
25 location ~ \.(css|js)$ {
26 expires 1y;
27 add_header Cache-Control public;
28 }
29
30 location ~ \.cgi$ {
31 include fastcgi_params;
32 fastcgi_param SERVER_NAME 'bugs.crute.me';
33 fastcgi_param SCRIPT_NAME '';
34 fastcgi_param PATH_INFO $uri;
35 fastcgi_param BZ_CACHE_CONTROL 1;
36 fastcgi_pass localhost:9090;
37 }
38
39 gzip on;
40 gzip_types text/xml application/rdf+xml;
41}
diff --git a/bugzilla/etc/service/bugzilla/log/run b/bugzilla/etc/service/bugzilla/log/run
deleted file mode 100755
index c37e560..0000000
--- a/bugzilla/etc/service/bugzilla/log/run
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3cat -
diff --git a/bugzilla/etc/service/bugzilla/run b/bugzilla/etc/service/bugzilla/run
deleted file mode 100755
index acf5287..0000000
--- a/bugzilla/etc/service/bugzilla/run
+++ /dev/null
@@ -1,10 +0,0 @@
1#!/bin/bash
2
3trap "cp /var/www/html/bugzilla/data/params.json /srv/bugzilla/params.json" EXIT
4
5cp /srv/bugzilla/params.json /var/www/html/bugzilla/data/params.json
6
7cd /var/www/html/bugzilla
8
9/usr/bin/su-exec bugzilla:bugzilla \
10 /usr/bin/plackup -s FCGI --listen :9090 /var/www/html/bugzilla/app.psgi
diff --git a/bugzilla/etc/service/cron/log/run b/bugzilla/etc/service/cron/log/run
deleted file mode 100755
index c37e560..0000000
--- a/bugzilla/etc/service/cron/log/run
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3cat -
diff --git a/bugzilla/etc/service/cron/run b/bugzilla/etc/service/cron/run
deleted file mode 100755
index dd49bb6..0000000
--- a/bugzilla/etc/service/cron/run
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3/usr/sbin/cron -f -n
diff --git a/bugzilla/etc/service/nginx/log/run b/bugzilla/etc/service/nginx/log/run
deleted file mode 100755
index c37e560..0000000
--- a/bugzilla/etc/service/nginx/log/run
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3cat -
diff --git a/bugzilla/etc/service/nginx/run b/bugzilla/etc/service/nginx/run
deleted file mode 100755
index 0a99b49..0000000
--- a/bugzilla/etc/service/nginx/run
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3/usr/sbin/nginx -g 'daemon off; master_process on;'
diff --git a/bugzilla/etc/service/syslog-ng/run b/bugzilla/etc/service/syslog-ng/run
deleted file mode 100755
index c2b1cd1..0000000
--- a/bugzilla/etc/service/syslog-ng/run
+++ /dev/null
@@ -1,3 +0,0 @@
1#!/bin/bash
2
3/usr/sbin/syslog-ng -F --no-caps
diff --git a/bugzilla/etc/syslog-ng/syslog-ng.conf b/bugzilla/etc/syslog-ng/syslog-ng.conf
deleted file mode 100644
index 989fd46..0000000
--- a/bugzilla/etc/syslog-ng/syslog-ng.conf
+++ /dev/null
@@ -1,6 +0,0 @@
1@version: 3.5
2
3options { flush-lines(0); use-dns(no); stats-freq(0); };
4source s_src { unix-dgram("/dev/log" so-rcvbuf(8192)); internal(); };
5destination d_stdout { pipe("/dev/stdout"); };
6log { source(s_src); destination(d_stdout); };