aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mga-advisories/templates
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mga-advisories/templates')
-rw-r--r--modules/mga-advisories/templates/mga-advisories.conf5
-rw-r--r--modules/mga-advisories/templates/update_script6
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/mga-advisories/templates/mga-advisories.conf b/modules/mga-advisories/templates/mga-advisories.conf
new file mode 100644
index 00000000..2e814fc7
--- /dev/null
+++ b/modules/mga-advisories/templates/mga-advisories.conf
@@ -0,0 +1,5 @@
+send_adv_mail: yes
+send_report_mail: yes
+out_dir: <%= @vhostdir %>
+advisories_dir: <%= @advisories_dir %>
+status_dir: <%= @status_dir %>
diff --git a/modules/mga-advisories/templates/update_script b/modules/mga-advisories/templates/update_script
new file mode 100644
index 00000000..16f7a6b1
--- /dev/null
+++ b/modules/mga-advisories/templates/update_script
@@ -0,0 +1,6 @@
+#!/bin/sh
+set -e
+
+cd <%= @advisories_dir %>
+svn up
+exec /usr/bin/mkadvisories