[Unit] Description=SmartThings WindFree status poller After=network-online.target Wants=network-online.target [Service] Type=simple User=smartthings-poller Group=smartthings-poller EnvironmentFile=-/etc/smartthings-windfree/secrets EnvironmentFile=-/etc/smartthings-windfree/oauth-secrets ExecStart=/opt/smartthings-windfree/venv/bin/smartthings-windfree-poller --config /etc/smartthings-windfree/config.toml Restart=on-failure RestartSec=15 StateDirectory=smartthings-windfree NoNewPrivileges=true PrivateTmp=true ProtectSystem=strict ProtectHome=true [Install] WantedBy=multi-user.target