From c2b12fe4ffb6aea9e37dc697cbba8cdf51f60fac Mon Sep 17 00:00:00 2001 From: Colin Guthrie Date: Mon, 4 Aug 2014 09:30:44 +0100 Subject: mga-advisories: Add configuration for running mgaadv in a way which moves packages. This adds an appropriate wrapper script to run the move script as root (which is needed) while keeping the rest running as the mga-advisories user. Disable the cron script for now as we will move over to running the full process but we should test it a bit first. --- modules/mga-advisories/templates/mga-advisories.conf | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/mga-advisories/templates/mga-advisories.conf') diff --git a/modules/mga-advisories/templates/mga-advisories.conf b/modules/mga-advisories/templates/mga-advisories.conf index 1503b310..caf09a6c 100644 --- a/modules/mga-advisories/templates/mga-advisories.conf +++ b/modules/mga-advisories/templates/mga-advisories.conf @@ -1,5 +1,6 @@ mode: site send_adv_mail: yes +move_pkg_cmd: <%= @move_wrapper_script %> send_report_mail: yes out_dir: <%= @vhostdir %> advisories_dir: <%= @advisories_dir %> -- cgit v1.2.1