diff --git a/.gitignore b/.gitignore index 6cd8431..741819a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,4 @@ *.deb -!usr/lib/* # Created by https://www.gitignore.io/api/macos,python,windows,visualstudiocode # Edit at https://www.gitignore.io/?templates=macos,python,windows,visualstudiocode @@ -49,7 +48,7 @@ dist/ downloads/ eggs/ .eggs/ -lib/ +#lib/ lib64/ parts/ sdist/ diff --git a/usr/lib/systemd/system/pve-fake-subscription.service b/usr/lib/systemd/system/pve-fake-subscription.service new file mode 100644 index 0000000..f5e0599 --- /dev/null +++ b/usr/lib/systemd/system/pve-fake-subscription.service @@ -0,0 +1,7 @@ +[Unit] +Description=Fake a Proxmox VE subscription + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/pve-fake-subscription + diff --git a/usr/lib/systemd/system/pve-fake-subscription.timer b/usr/lib/systemd/system/pve-fake-subscription.timer new file mode 100644 index 0000000..93a7843 --- /dev/null +++ b/usr/lib/systemd/system/pve-fake-subscription.timer @@ -0,0 +1,13 @@ +[Unit] +Description=Refresh fake Proxmox VE subscription cache every day + +[Timer] +OnActiveSec=0s +OnBootSec=0s +OnCalendar=daily +RandomizedDelaySec=60s +Persistent=true + +[Install] +WantedBy=timers.target +