summaryrefslogtreecommitdiff
path: root/debian/mailgraph.service
diff options
context:
space:
mode:
Diffstat (limited to 'debian/mailgraph.service')
-rw-r--r--debian/mailgraph.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/mailgraph.service b/debian/mailgraph.service
new file mode 100644
index 0000000..a4d9810
--- /dev/null
+++ b/debian/mailgraph.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=mailgraph mail log file analyzer
+After=
+
+[Service]
+Nice=19
+Type=forking
+ExecStart=/usr/sbin/mailgraph -d -l /var/log/mail.log --daemon-rrd=/var/lib/mailgraph --ignore-localhost
+
+[Install]
+WantedBy=multi-user.target