# systemd service file to start relayClient [Unit] Description=MQTT client #After=network.target After=mosquitto.service [Service] Type=simple User= Group= WorkingDirectory=/home/ ExecStart=/home//.local/bin/relayClient # Use SIGINT to stop KillSignal=SIGINT # Auto restart on crash Restart=on-failure RestartSec=20 # Tag things in the log SyslogIdentifier=relayClient #StandardOutput=syslog [Install] WantedBy=multi-user.target