Skip to content

Commit

Permalink
fix: add proxmox-daily-update support (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayufan authored Jan 1, 2025
1 parent 667a78d commit 5c17794
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions runit/proxmox-daily-update/control/i
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/bash

echo 'Received SIGINT...'
kill 1
6 changes: 6 additions & 0 deletions runit/proxmox-daily-update/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash

ln -sf /usr/lib/*/proxmox-backup/proxmox-daily-update /etc/cron.daily/

echo "CRON: Starting..."
exec cron -f
2 changes: 1 addition & 1 deletion versions/v3.3.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ COPY --from=builder /deb/ /deb/
# Install all packages
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get -y update && \
apt install -y runit ssmtp /deb/*.deb
apt install -y runit ssmtp cron /deb/*.deb

# Add default configs
ADD /pbs/ /etc/proxmox-backup-default/
Expand Down

0 comments on commit 5c17794

Please sign in to comment.