Commit Graph

2 Commits

Author SHA1 Message Date
mteehan a77cee821b Restart script re-execs itself with sudo when not run as root
The script restarts system services via systemctl, which requires root.
Previously it would only fail per-command when run by an unprivileged
user. Add an EUID guard at the top that re-execs the script through
sudo, preserving the original path and arguments.
2026-08-20 23:05:54 +00:00
mteehan b4d13c4bd5 Add restart-services script to scripts/ directory 2026-07-02 14:39:35 +00:00