Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'd like to disable mini-http on boot.

sudo /etc/init.d/mini-httpd disable

The above command does not exist. Only start|stop|restart|force-reloadoptions are available and these only stop the service till the next reboot.

I am using Ubuntu 12.04.3 LTS.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

You could try sudo update-rc.d mini-httpd disable OR sudo update-rc.d remove and restore to defaults with

sudo update-rc.d mini-httpd defaults

You can use -f flag to force the changes.

share|improve this answer

/etc/default/mini-httpd has an option START=1. Set it to 0 and it will not automatically start.

From command line

nano /etc/default/mini-httpd

Change the 1 to a 0. Hit control-x and save.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.