04b053d87e
so that we can easily get the main PID of the last recently launched daemon. Will be used to get the control socket of that one for access lgo rotate in a future patch Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
19 lines
407 B
SYSTEMD
19 lines
407 B
SYSTEMD
[Unit]
|
|
Description=Proxmox Backup API Proxy Server
|
|
Wants=network-online.target
|
|
After=network.target
|
|
Wants=proxmox-backup.service
|
|
After=proxmox-backup.service
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-proxy
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
PIDFile=/run/proxmox-backup/proxy.pid
|
|
Restart=on-failure
|
|
User=%PROXY_USER%
|
|
Group=%PROXY_USER%
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|