summarylogtreecommitdiffstats
path: root/oml2-server.conf
diff options
context:
space:
mode:
authorOlivier Mehani2016-03-08 16:10:10 +1100
committerOlivier Mehani2016-03-08 16:10:15 +1100
commitf6b6de34e8f583c970330e3b0f4ee7ac950a285b (patch)
tree9ad9a73b06e1abb50ced8df50bfb3e1471b508ef /oml2-server.conf
downloadaur-oml2.tar.gz
Import 2.11.1rc from upstream release
Signed-off-by: Olivier Mehani <olivier.mehani@nicta.com.au>
Diffstat (limited to 'oml2-server.conf')
-rw-r--r--oml2-server.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/oml2-server.conf b/oml2-server.conf
new file mode 100644
index 00000000000..c63175b0814
--- /dev/null
+++ b/oml2-server.conf
@@ -0,0 +1,13 @@
+# This creates SQLite3 databases in /var/oml2, use
+# "--data-dir=DIR"
+# to override.
+#
+#
+# See oml2-server(1) for details.
+OML2_OPTS="-l 3003 --logfile=/var/log/oml2-server.log --user=oml2 --group=oml2"
+
+# Uncomment the following to use the PostgreSQL backend instead (default values
+# explicitely given here)
+# Make sure the oml2 PG user exist and is allowed to create databases:
+# createuser --username postgres --createdb --no-superuser --no-createrole oml2
+#OML2_OPTS="$OML2_OPTS --backend=postgresql --pg-host=localhost --pg-port=5432 --pg-user=oml2 --pg-pass=''"