dist: Add Documentation and RuntimeDirectory options to systemd unit file

This commit is contained in:
fox.cpp 2019-09-15 04:01:24 +03:00
parent 365a24b5fe
commit c163c68e22
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C

4
dist/maddy.service vendored
View file

@ -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