Trouble with apache saarting on boot with ssl api key

Posted by molleman on Server Fault See other posts from Server Fault or by molleman
Published on 2013-10-18T03:40:22Z Indexed on 2013/10/18 3:57 UTC
Read the original article Hit count: 489

Filed under:
|
|
|

Im Running on Centos,

the trouble is when i restart my server i need to start my apache and varnish service

I use this to start both of them

service httpd restart && service varnish restart

But i would likw both of them to start when i reboot the server

I read i could use this

chkconfig httpd on

But this is only for apache could i do this

chkconfig varnish on

Finally when i do y usual start of httpd , i am asked for my api key for SSL , am i able to incorporate this into resarting both varnish and httpd on start up. Or am i doomed to run this command everytime i resart

© Server Fault or respective owner

Related posts about linux

Related posts about apache2