Answer the question
In order to leave comments, you need to log in
How to make lighttpd start manually on Ubuntu 15.04?
I asked a question on the toaster - How to remove lighttpd from autostart in Ubuntu 15.04?
there they suggested a working solution:
sudo systemctl disable lighttpd , and after rebooting the server really doesn’t work, but you can’t start it with the sudo service lighttpd start command either.
To start it is necessary:
sudo systemctl enable lighttpd and reboot, then the server is again constantly running.
In previous versions of Ubuntu, I removed it from startup:
sudo update-rc.d -f lighttpd remove and started / stopped when necessary with the
sudo service lighttpd start / stop command.
I do not want the server to always hang at startup, but I also want to start / stop on command without rebooting the computer when necessary. Suggest a solution.
Answer the question
In order to leave comments, you need to log in
ebtables.service disabled
[[email protected] ~]# systemctl start ebtables.service
[[email protected] ~]# systemctl status ebtables.service ebtables.service
- Ethernet Bridge Filtering tables
Loaded: loaded (/usr/lib/systemd/system/ebtables .service;disabled)
Active: active (exited) since Sat 2015-11-07 10:37:51 MSK; 6s ago
Process: 11407 ExecStart=/usr/libexec/ebtables start (code=exited, status=0/SUCCESS)
Main PID: 11407 (code=exited, status=0/SUCCESS)
Nov 07 10:37:51 bill.onlinemartin .org systemd[1]: Starting Ethernet Bridge Filtering tables...
Nov 07 10:37:51 bill.onlinemartin.org ebtables[11407]: filter tables: not configured[ OK ]
Nov 07 10:37:51 bill.onlinemartin.org ebtables[11407]: nat tables: not configured[ OK ]
Nov 07 10:37:51 bill.onlinemartin.org ebtables[11407]: broute tables: not configured[ OK ]
Nov 07 10:37:51 bill.onlinemartin.org systemd[1]: Started Ethernet Bridge Filtering tables.
[[email protected] ~]# systemctl stop ebtables.service
[[email protected] ~]#
something you're saying is wrong.....
you have some "porridge"
in the new Ubuntu, a fresh system for working with services appeared - systemd, it replaced the old init system (you can read more for example here )
systemctl - one of the utilities for working with daemons sudo systemctl enable lighttpd
- adds a service to autostart, then same, but disable - disables autostart
to start the daemon manually use sudo update-rc.d -f lighttpd remove
and sudo service lighttpd start/stop
refer to the "old" daemon startup system -
use init only systemctl and you'll be fine
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question