pmg-api/debian/pmgproxy.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

20 lines
412 B
Desktop File

[Unit]
Description=Proxmox Mail Gateway API
ConditionPathExists=/usr/bin/pmgproxy
Wants=pmgdaemon.service
Wants=ssh.service
Wants=remote-fs.target
After=pmgdaemon.service
After=ssh.service
After=remote-fs.target
[Service]
ExecStart=/usr/bin/pmgproxy start
ExecStop=/usr/bin/pmgproxy stop
ExecReload=/usr/bin/pmgproxy restart
PIDFile=/run/pmgproxy/pmgproxy.pid
Type=forking
[Install]
WantedBy=multi-user.target