0

It's status suddenly goes to inactive, no errors nor anything else suspicious from journalctl -u servicename nor systemctl status servicename

Description=Provide audio stream for homeassistant noise detection
After=syslog.target network.target

[Service]
User=root
Group=root

Type=simple

ExecStart=/bin/sh /arecord_pipe_ffmpeg.sh                 

TimeoutStopSec=20
Restart=on-failure

[Install]
WantedBy=multi-user.target
1

You can't –– if that script /arecord_pipe_ffmpeg.sh doesn't do any logging, systemd nor anything else can't know why it exited.

By the way, not a usual place to put scripts, /.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.