Can I use /etc/init/ on Debian Wheezy to manage a daemon process?

1

I want to run a PHP daemon process and found a solution at Stackoverflow but unfortunately its not working. Now I thought Upstart is not installed since Debian still uses System V. I have two questions now. Why does /etc/init/ exist and can I add a Upstart config file there to make a daemon or do I have to use start-stop-daemon instead?

Aley

Posted 2014-12-29T13:58:43.683

Reputation: 226

Why isn't it possible just to write an init (shell) script that starts the daemon? Or do you require monitoring or something? – mtak – 2014-12-29T14:50:08.123

@mtak It should automatically respawn. Thats not possible with start-stop-daemon. – Aley – 2014-12-29T15:04:59.677

No answers