[Unit] Description=RPI MQTT Control Service After=network.target [Service] Type=simple User=root Group=root Restart=on-failure RestartSec=10 WorkingDirectory=/usr/bin ExecStart=/usr/bin/rpicontrol # make sure log directory exists and owned by syslog SyslogIdentifier=rpicontrol [Install] WantedBy=multi-user.target