mirror of
https://git.proxmox.com/git/pmg-api
synced 2026-01-08 18:45:02 +00:00
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>
18 lines
348 B
Desktop File
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
|