Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Where is the stop-start-daemon in the latest NI Linux Real-Time System?

Solved!
Go to solution

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

0 Kudos
Message 1 of 2
(1,212 Views)
Solution
Accepted by topic author idc12

I found it.  It has been moved to /usr/sbin

Message 2 of 2
(1,174 Views)