1
0
mirror of https://github.com/joBr99/proxmoxbackupserver synced 2026-08-06 00:12:37 +02:00

Create entrypoint.sh

This commit is contained in:
joBr99
2020-08-30 20:26:11 +02:00
committed by GitHub
parent 19aae532fe
commit 4db2db9b7d
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
#fix ownership
chown -R backup:backup /etc/proxmox-backup
chmod -R 700 /etc/proxmox-backup
# Start the first process
./usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-api &
sleep 10
# Start the second process
su backup -c "/usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy &
while /bin/true; do
sleep 60
done"