pmg-api/debian/pmgpolicy.service
Fabian Grünbichler 83e9f42758 replace /var/run with /run
since the former has been a symlink to the latter since forever.

systemd >= Buster will print lots of noisy messages regarding outdated
PIDFile paths if they point to /var/run.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-07-30 10:06:18 +02:00

18 lines
348 B
Desktop File

[Unit]
Description=Proxmox Mail Gateway Policy Daemon
ConditionPathExists=/usr/bin/pmgpolicy
Wants=remote-fs.target
After=remote-fs.target
Before=postfix.service
[Service]
ExecStart=/usr/bin/pmgpolicy
KillMode=mixed
TimeoutStopSec=40
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/pmgpolicy.pid
Type=forking
[Install]
WantedBy=multi-user.target