aboutsummaryrefslogtreecommitdiffstats
path: root/community/lxd/lxd.confd
diff options
context:
space:
mode:
Diffstat (limited to 'community/lxd/lxd.confd')
-rw-r--r--community/lxd/lxd.confd29
1 files changed, 29 insertions, 0 deletions
diff --git a/community/lxd/lxd.confd b/community/lxd/lxd.confd
new file mode 100644
index 00000000000..527819904a2
--- /dev/null
+++ b/community/lxd/lxd.confd
@@ -0,0 +1,29 @@
+# Group which owns the shared socket, used for unpriviledged containers
+LXD_OPTIONS=" --group lxd"
+
+# Enable cpu profiling into the specified file
+#LXD_OPTIONS="${LXD_OPTIONS} --cpuprofile /tmp/lxc_cpu_profile"
+
+# Enable memory profiling into the specified file
+#LXD_OPTIONS="${LXD_OPTIONS} --memprofile /tmp/lxc_mem_profile"
+
+# Enables debug mode
+#LXD_OPTIONS="${LXD_OPTIONS} --debug"
+
+# For debugging, print a complete stack trace every n seconds
+#LXD_OPTIONS="${LXD_OPTIONS} --print-goroutines-every 5"
+
+# Enables verbose mode
+#LXD_OPTIONS="${LXD_OPTIONS} -v"
+
+# Logfile to log to
+#LXD_OPTIONS="${LXD_OPTIONS} --logfile /var/log/lxd/lxd.log"
+
+# Enables syslog logging
+#LXD_OPTIONS="${LXD_OPTIONS} --syslog"
+
+# Timeout waiting for instances to stop (clean exit)
+#LXD_TIMEOUT=60
+
+# Immediately stop all instances (dirty exit, possible data loss/corruption!)
+#LXD_FORCE_STOP=no