Running PHP script as daemon / system service / on reboot
Posted by Upstream,
in
nohup php,
Ubuntu init,
bash,
PHP,
Uncategorized
09 July 2015 -
·
21267 views







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