diff --git a/wedding-phone.service b/wedding-phone.service index 9924644..bda1476 100644 --- a/wedding-phone.service +++ b/wedding-phone.service @@ -8,13 +8,13 @@ Type=simple User=berwn Group=berwn WorkingDirectory=/home/berwn/wedding-phone -Environment="PATH=/home/berwn/.local/bin:/usr/local/bin:/usr/bin:/bin" +Environment="PATH=/home/berwn/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" ExecStart=/home/berwn/.local/bin/uv run --no-project python rotary_phone_web.py Restart=always RestartSec=10 # Security hardening -NoNewPrivileges=true +# NoNewPrivileges=true # Disabled to allow sudo for shutdown/reboot commands PrivateTmp=true # Allow GPIO access