Dear Scott, Could you please send your /etc/launcher.conf.xml?
The launcher.php is executed after the boot - you don't need to enable anything (there should be a link in /etc/rc3.d - "S99launcher.php") and it runs the programs from the list in launcher.conf.xml. I've just tested this - it works fine. I added the record using launcher.php: http://192.168.0.144/launcher.php?cmd=add&background=true&opt=wait&program=/usr/html/script.php "launcher,conf.xml" example: <launcher_cmd> <launch_example program="[patch]program_name" log="log_file_name" background="true|false"> 'log' and 'background' is optional attributes; program can be with a full path </launch_example> <launch program="/usr/html/script.php" log="" background="true"/> </launcher_cmd> Best regards, Oleg Elphel, Inc. On 12 February 2010 14:42, Scott Janz <[email protected]> wrote: > Ok, I added the appropriate command to /etc/launcher.conf.xml and it works > properly from the command line: > > > php /etc/init.d/launcher.php > > starts camogm in the background, writes to /var/log/auto.log etc. But it > will not automatically start at boot time. Is there something I need to do > to enable launcher.php to run at boot? I have already checked to make sure > it is executable. > > thanks, > > -scott > > > Sebastian Pichelhofer wrote: > >> It was initially added in 2008 so you should already have it in your >> camera. >> >> Regards Sebastian >> >> Janz, Scott J. (GSFC-6133) wrote: >> >> >>> Thanks Sebastian, is the launcher installed in 8.0.4.3 or do I need to >>> upgrade to latest distro? >>> >>> -scott >>> >>> On Feb 5, 2010, at 5:25 PM, Sebastian Pichelhofer wrote: >>> >>> >>> >>>> I am working on a GUI in the system preferences for the launcher.php >>>> (/etc/init.d/launcher.php) script that reads an xml file and then starts >>>> the >>>> appropriate commands. >>>> >>>> This launcher.php is already installed but not doing anything at the >>>> moment (empty xml with just a demo entry). >>>> I would suggest to look at /etc/launcher.conf.xml as a starting point. >>>> >>>> Regards Sebastian >>>> >>>> Janz, Scott J. (GSFC-6133) wrote: >>>> >>>> >>>>> Hopefully a simple question, what is the recommended method of >>>>> autostarting camogm on camera boot? >>>>> >>>>> thanks! >>>>> >>>>> -scott >>>>> >>>>> >>>>> >>>>> >>>>> _______________________________________________ >>>>> Support-list mailing list >>>>> [email protected] >>>>> >>>>> http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com >>>>> >>>>> >>>>> >>>> >>> >> >> >> > > -- > > --------------------- > Dr. Scott J. Janz > NASA/GSFC code 613.3 > Building 33 Room E310 > Greenbelt, MD 20771 > ph. 301-614-5987 > fax 301-614-5903 > > > > _______________________________________________ > Support-list mailing list > [email protected] > http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com >
_______________________________________________ Support-list mailing list [email protected] http://support.elphel.com/mailman/listinfo/support-list_support.elphel.com
