[Service] Type=simple #RemainAfterExit=yes User=motion ExecStart=/usr/local/bin/motion_hass.py --config /etc/motion_hass.conf [Unit] OnFailure=status_email_antoniodelgado@%n.service