02c7a75520
We want to run the public server as user www-data. Requests needing root priviledges needs to be proxied to the proxmox-backup.service, which now listens to 127.0.0.1:82.
17 lines
320 B
Desktop File
17 lines
320 B
Desktop File
[Unit]
|
|
Description=Proxmox API Proxy Server
|
|
ConditionPathExists=/usr/bin/proxmox-backup-proxy
|
|
Wants=proxmox-backup.service
|
|
After=syslog.service
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=www-data
|
|
Group=www-data
|
|
ExecStart=/usr/bin/proxmox-backup-proxy start
|
|
Type=simple
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|