This question already has an answer here:
- How to enable or disable services? 7 answers
I installed these applications on my Ubuntu:
nginx
php5-fpm
mysql server
redis
...
These applications run every time the computer turns on.
How can I prevent these applications from running on start up?
So, these applications only run if I do "service nginx start".
for s in "nginx mysql redis"; do sudo update-rc.d $s disable; done– timkofu Jul 28 '16 at 7:20