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 - - - - - - · 13809 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...





June 2017

S M T W T F S
    123
45678910
11121314151617
181920212223 24
252627282930 

My Picture