summaryrefslogtreecommitdiffstats
path: root/debian/examples
diff options
context:
space:
mode:
Diffstat (limited to 'debian/examples')
-rw-r--r--debian/examples/rsyslog.d/console.conf7
-rw-r--r--debian/examples/rsyslog.d/xconsole.conf12
-rw-r--r--debian/examples/tmpfiles.d/xconsole.conf3
3 files changed, 22 insertions, 0 deletions
diff --git a/debian/examples/rsyslog.d/console.conf b/debian/examples/rsyslog.d/console.conf
new file mode 100644
index 0000000..d098b64
--- /dev/null
+++ b/debian/examples/rsyslog.d/console.conf
@@ -0,0 +1,7 @@
+# I like to have messages displayed on the console, but only on a virtual
+# console I usually leave idle.
+#
+daemon,mail.*;\
+ news.=crit;news.=err;news.=notice;\
+ *.=debug;*.=info;\
+ *.=notice;*.=warn /dev/tty8
diff --git a/debian/examples/rsyslog.d/xconsole.conf b/debian/examples/rsyslog.d/xconsole.conf
new file mode 100644
index 0000000..c1e265d
--- /dev/null
+++ b/debian/examples/rsyslog.d/xconsole.conf
@@ -0,0 +1,12 @@
+# The named pipe /run/xconsole is for the `xconsole' utility. To use it,
+# you must invoke `xconsole' with the `-file' option:
+#
+# $ xconsole -file /run/xconsole [...]
+#
+# NOTE: adjust the list below, or you'll go crazy if you have a reasonably
+# busy site..
+#
+daemon.*;mail.*;\
+ news.err;\
+ *.=debug;*.=info;\
+ *.=notice;*.=warn |/run/xconsole
diff --git a/debian/examples/tmpfiles.d/xconsole.conf b/debian/examples/tmpfiles.d/xconsole.conf
new file mode 100644
index 0000000..537f8ac
--- /dev/null
+++ b/debian/examples/tmpfiles.d/xconsole.conf
@@ -0,0 +1,3 @@
+# Type Path Mode UID GID Age Argument
+p /run/xconsole 0640 root adm
+L /dev/xconsole - - - - /run/xconsole