I am operating an Ubuntu 11.10 server and one of the PHP scripts calls a bash script for inserting jobs and starting them.
The script copies the job into /etc/init
Everything is fine except that the jobs don't get started with
sudo /sbin/initctl start my-tiny-job
(I think the reason is unknown job)
When I run the bash script by hand:
php-user$ ./bashscript.sh
then it works! So this means the job file is correct.
Since this is a functionality called from a web interface I really need to know why this doesn't work.
initctl
command in console. To enter console session, press <kbd>Ctrl</kbd>+<kbd>Alt</kbd>+<kbd>F1</kbd> and login. For me it succeeded this way!