dnif-archive / DigiVigi

GNU General Public License v3.0
1 stars 7 forks source link

starting Httplistner and httpslistner service #10

Closed shreyaskulkarni412 closed 6 years ago

shreyaskulkarni412 commented 6 years ago

Hello,

For do certain things in dnif. I want to start http and https service. So anyone any idea for how to start this service?

PRASHANT-SAWANT commented 6 years ago

Hey Shreyas, Good thing you asked. I just figured these services need to be started inside DNIF container. And to do so, you will have to do a SSH to DNIF Container (refer this DNIF Docs Page to do so: https://dnif.it/docs/guides/tutorials/access-dnif-container-via-ssh.html)

Once inside the container, run the following commands in sequence. 1st Command: $ supervisorctl O/P: All services along with their statuses will be displayed 2nd Command: (now this depends on which listener service you want to use) $ start httplistener OR $ start httpslistener

P.S: Usually this service is required for listening to HTTP Post requests coming from client.