summaryrefslogtreecommitdiff
path: root/pcr/mailpile/mailpile.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/mailpile/mailpile.service')
-rw-r--r--pcr/mailpile/mailpile.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/pcr/mailpile/mailpile.service b/pcr/mailpile/mailpile.service
new file mode 100644
index 000000000..51a110552
--- /dev/null
+++ b/pcr/mailpile/mailpile.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Mailpile Daemon
+Requires=network.target
+After=network.target
+
+[Service]
+User=mailpile
+PIDFile=/run/mailpile.pid
+PrivateTmp=true
+Environment=MAILPILE_HOME=/var/lib/mailpile
+ExecStart=/usr/bin/mp --www= --wait
+
+[Install]
+WantedBy=multi-user.target