0

How can we run httpd service at startup ? ( this task will activate a startup script , that you have written, to start the "httpd" deamon ( /us/local/sbin/httpd ) )

Tona
  • 23
  • Since httpd is Apache, usually, why don't you simply install Apache from the repositories (sudo apt-get install apache2), which will the take care of startup? – muru Dec 28 '16 at 13:16

1 Answers1

0

Use systemd to set it to start on boot.

sudo systemctl enable httpd
Videonauth
  • 33,355
  • 17
  • 105
  • 120
Kyle H
  • 1,044
  • 6
  • 7