summaryrefslogtreecommitdiff
path: root/testing/hosts/default
diff options
context:
space:
mode:
Diffstat (limited to 'testing/hosts/default')
-rwxr-xr-xtesting/hosts/default/usr/local/bin/init_collector4
1 files changed, 4 insertions, 0 deletions
diff --git a/testing/hosts/default/usr/local/bin/init_collector b/testing/hosts/default/usr/local/bin/init_collector
new file mode 100755
index 000000000..c522de874
--- /dev/null
+++ b/testing/hosts/default/usr/local/bin/init_collector
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+cat /usr/local/share/strongswan/templates/database/sw-collector/sw_collector_tables.sql | sqlite3 /etc/db.d/collector.db
+LEAK_DETECTIVE_DISABLE=1 /usr/local/sbin/sw-collector