I want to run a process in rc.local
(Ubuntu Natty) but I am having trouble determining if it has run. I added
/bin/sleep 10
/usr/bin/killall PassengerWatchdog
/bin/echo "Killall returned with code $?"
The file has the execute bit set. The script starts with #!/bin/sh
I would expect the echo to go to /var/log/boot.log
This is obviously just a hack to see if I can fix a problem. How can I tell if the script executed?