[Unit] Description=Infoscreen service-failed MQTT notifier (%i) # One-shot: run once and exit. %i is the failing unit name passed by OnFailure=. After=network.target [Service] Type=oneshot User=olafn Group=olafn WorkingDirectory=/home/olafn/infoscreen-dev EnvironmentFile=/home/olafn/infoscreen-dev/.env ExecStart=/home/olafn/infoscreen-dev/scripts/infoscreen-notify-failure.sh %i # Do not restart the notifier itself. Restart=no StandardOutput=journal StandardError=journal SyslogIdentifier=infoscreen-notify-failure