src/bin/proxmox-backup-proxy.rs: implement unpriviledged server

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.
This commit is contained in:
Dietmar Maurer
2019-01-28 13:17:03 +01:00
parent 48849593ee
commit 02c7a75520
7 changed files with 136 additions and 15 deletions

4
debian/rules vendored
View File

@ -7,3 +7,7 @@
%:
dh $@ --with=systemd --with=bash-completion
override_dh_installinit:
dh_installinit
dh_installinit --name proxmox-backup-proxy