mirror of
https://git.proxmox.com/git/pmg-api
synced 2026-01-01 03:39:49 +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>
20 lines
412 B
Desktop File
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
|