Auto-scale instances per 250 accounts via hourly cron

This commit is contained in:
bigbong420 committed 2026-03-29 14:15:58 -04:00
1 parent 6b1f324f5e
commit 8d1afbdfd4
4 files changed
+64 -28

No files matched your search

@@ -0,0 +1,6 @@
[Unit]
Description=Auto-scale Tor hosting instances based on account count
[Service]
Type=oneshot
ExecStart=/usr/bin/php8.2 /var/www/autoscale.php
@@ -0,0 +1,9 @@
[Unit]
Description=Check and auto-scale hosting instances every hour
[Timer]
OnCalendar=hourly
Persistent=true
[Install]
WantedBy=timers.target