Initial import: monitoring, power-management, maintenance, web scripts
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Wrapper: graceful shutdown of pve2 (DL380p Gen8) via Proxmox API.
|
||||
Silent on success, sends email on failure.
|
||||
Used by cron job server-stop (no_agent mode)."""
|
||||
import sys, os
|
||||
|
||||
script = os.path.join(os.path.dirname(__file__), "host-power.py")
|
||||
os.execvp(sys.executable, [sys.executable, script, "stop"])
|
||||
Reference in New Issue
Block a user