[Unit] Description=Wedding Phone - Vintage Rotary Phone Audio System After=network.target sound.target Wants=network.target sound.target [Service] Type=simple User=berwn Group=berwn WorkingDirectory=/home/berwn/wedding-phone Environment="PATH=/home/berwn/.local/bin:/usr/local/bin:/usr/bin:/bin" ExecStart=/usr/bin/python3 rotary_phone_web.py Restart=always RestartSec=10 # Security hardening NoNewPrivileges=true PrivateTmp=true # Allow GPIO access SupplementaryGroups=gpio audio [Install] WantedBy=multi-user.target