mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-04 21:47:40 +03:00
dist: Add Documentation and RuntimeDirectory options to systemd unit file
This commit is contained in:
parent
365a24b5fe
commit
c163c68e22
1 changed files with 4 additions and 0 deletions
4
dist/maddy.service
vendored
4
dist/maddy.service
vendored
|
@ -1,5 +1,8 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=maddy mail server
|
Description=maddy mail server
|
||||||
|
Documentation=man:maddy(1)
|
||||||
|
Documentation=man:maddy.conf(5)
|
||||||
|
Documentation=https://github.com/foxcpp/maddy/wiki
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
@ -15,6 +18,7 @@ WorkingDirectory=/var/lib/maddy
|
||||||
# directories and permissions.
|
# directories and permissions.
|
||||||
DynamicUser=true
|
DynamicUser=true
|
||||||
ConfigurationDirectory=maddy
|
ConfigurationDirectory=maddy
|
||||||
|
RuntimeDirectory=maddy
|
||||||
StateDirectory=maddy
|
StateDirectory=maddy
|
||||||
ReadOnlyPaths=/usr/lib/maddy
|
ReadOnlyPaths=/usr/lib/maddy
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue