[Unit] Description=Pi-hole to Home Assistant Connector After=network.target [Service] Type=simple User=your_username WorkingDirectory=/path/to/your/PiholeDNS_HA_Connector ExecStart=/usr/bin/node src/app.js Restart=on-failure [Install] WantedBy=multi-user.target