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





January 2017

S M T W T F S
1234567
891011121314
1516 17 18192021
22232425262728
293031    

My Picture