# /home/lighthouse/.config/systemd/user/device-gateway.service [Unit] Description=ESP32 Device Gateway After=network-online.target Wants=network-online.target [Service] Type=simple WorkingDirectory=/home/lighthouse/esp32-dev Environment=PYTHONUNBUFFERED=1 EnvironmentFile=/home/lighthouse/.config/esp32-device-gateway/gateway.env ExecStart=/home/lighthouse/esp32-dev/scripts/run-server.sh Restart=on-failure RestartSec=5 TimeoutStopSec=20 KillSignal=SIGINT StandardOutput=journal StandardError=journal SyslogIdentifier=device-gateway NoNewPrivileges=yes PrivateTmp=yes [Install] WantedBy=default.target # /home/lighthouse/.config/systemd/user/device-gateway.service.d/demo-text-voice-baseline.conf [Service] WorkingDirectory=/home/lighthouse/esp32-dev/.cache/demo-text-voice-baseline-0.5.1 ExecStart= ExecStart=/home/lighthouse/esp32-dev/.cache/demo-text-voice-baseline-0.5.1/scripts/run-server.sh