Answer the question
In order to leave comments, you need to log in
How to write script logs via start-stop-daemon?
Hello,
PHP scripts hang in processes, but they don't work themselves. I start them via start-stop-daemon >> $log. Logs are written by start-stop-daemon commands ("already running" and others). How can I redirect the output of a php script to some file as well? I start with parameters --start --background --make-pidfile --exec php script.php.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question