On Sun, Aug 05, 2018 at 07:41:19PM +0000, Christian Leeb wrote:
> What is the suggested way to start ptp4l as daemon?
I suggest:
cd / && ptp4l &
If you want to monitor the execution status, there are multiple ways
to do this. For example, in bash:
pid=$?
wait $pid
If you are using systemd, there are ways to monitor and restart (if
desired) services. Here is a very simple example from debian:
https://salsa.debian.org/multimedia-team/linuxptp/blob/master/debian/ptp4l.service
Note that here systemd takes care of running in the background
automatically.
HTH,
Richard
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users