# /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/buffered-experiment.conf [Service] WorkingDirectory=/home/lighthouse/esp32-dev-buffered-0.5.2 ExecStart= ExecStart=/home/lighthouse/esp32-dev-buffered-0.5.2/server/.venv/bin/python /home/lighthouse/esp32-dev-buffered-0.5.2/scripts/run-buffered-candidate.py --public-smoke-origin https://gw.pangtiao.men