Jump to content


Check out our Community Blogs

Upstream's Blog



Running PHP script as daemon / system service / on reboot

Posted by Upstream, in nohup php, Ubuntu init, bash, PHP, Uncategorized 09 July 2015 - - - - - - · 12839 views
php, api, twitter, bash, init and 1 more...
Running PHP script as daemon / system service / on reboot Hi folks,

Done something cool today, at least for me it's cool as its very handy. I desided to share it here as I don't come accross much info on these when I was looking for it myself. So here I go. The below bash script runs as a system service at start up on Ubuntu and all it does is start a background process with a easy to lookup process id (pid) an...





March 2017

S M T W T F S
   1234
567891011
12131415161718
192021222324 25
262728293031 

My Picture