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>
15 lines
302 B
SYSTEMD
15 lines
302 B
SYSTEMD
[Unit]
|
|
Description=Proxmox Backup API Server
|
|
Wants=network-online.target
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=%LIBEXECDIR%/proxmox-backup/proxmox-backup-api
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
PIDFile=/run/proxmox-backup/api.pid
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|