mirror of
https://github.com/Jamesits/pve-fake-subscription
synced 2025-12-06 02:56:59 -05:00
add missing files
This commit is contained in:
parent
baaa583e8f
commit
d67cbf8ac5
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,5 +1,4 @@
|
|||||||
*.deb
|
*.deb
|
||||||
!usr/lib/*
|
|
||||||
|
|
||||||
# Created by https://www.gitignore.io/api/macos,python,windows,visualstudiocode
|
# Created by https://www.gitignore.io/api/macos,python,windows,visualstudiocode
|
||||||
# Edit at https://www.gitignore.io/?templates=macos,python,windows,visualstudiocode
|
# Edit at https://www.gitignore.io/?templates=macos,python,windows,visualstudiocode
|
||||||
@ -49,7 +48,7 @@ dist/
|
|||||||
downloads/
|
downloads/
|
||||||
eggs/
|
eggs/
|
||||||
.eggs/
|
.eggs/
|
||||||
lib/
|
#lib/
|
||||||
lib64/
|
lib64/
|
||||||
parts/
|
parts/
|
||||||
sdist/
|
sdist/
|
||||||
|
|||||||
7
usr/lib/systemd/system/pve-fake-subscription.service
Normal file
7
usr/lib/systemd/system/pve-fake-subscription.service
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Fake a Proxmox VE subscription
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/local/bin/pve-fake-subscription
|
||||||
|
|
||||||
13
usr/lib/systemd/system/pve-fake-subscription.timer
Normal file
13
usr/lib/systemd/system/pve-fake-subscription.timer
Normal file
@ -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
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user