From c163c68e22ae8a3f78f19d21ab5af5315f08933e Mon Sep 17 00:00:00 2001 From: "fox.cpp" Date: Sun, 15 Sep 2019 04:01:24 +0300 Subject: [PATCH] dist: Add Documentation and RuntimeDirectory options to systemd unit file --- dist/maddy.service | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dist/maddy.service b/dist/maddy.service index 7b9505d..05a7790 100644 --- a/dist/maddy.service +++ b/dist/maddy.service @@ -1,5 +1,8 @@ [Unit] Description=maddy mail server +Documentation=man:maddy(1) +Documentation=man:maddy.conf(5) +Documentation=https://github.com/foxcpp/maddy/wiki After=network.target [Service] @@ -15,6 +18,7 @@ WorkingDirectory=/var/lib/maddy # directories and permissions. DynamicUser=true ConfigurationDirectory=maddy +RuntimeDirectory=maddy StateDirectory=maddy ReadOnlyPaths=/usr/lib/maddy