08-02-2023 12:31 PM
Not using LabView. Have a C++ application installed on the cRIO for data collection/processing. The cRIO runs autonomously so the application needs to start when the system boots.
There is an excellent tutorial in the knowledge base, "Tutorial: Installing Startup Scripts on NI Linux Real-Time", that shows how it is done and that I have been using successfully up to now.
Just installed the latest NI Linux Real-Time System (2023 Q2) and the startup script has stopped working.
It seems that the bit that makes it work is a call to start-stop-daemon (copy of command below).
On looking for a reason why the script had stopped working I looked in the /sbin directory and the start-stop-daemon is not there!
Can anyone tell me where it has gone (different directory), or has the command now got a new name?
Thanks
/sbin/start-stop-daemon --start --pidfile $PIDFILE \
--make-pidfile \
--chuid $USER --exec $DAEMON
Solved! Go to Solution.
08-03-2023 03:57 PM
I found it. It has been moved to /usr/sbin