How to stop microgateway when it is running as background process?

Not applicable

Hi Team,

I started the micro-gateway using following command to run it in background:

nohup ./edgemicro start -o nielsen -e dev -k key -s secret 2>&1 | tee /usr/local/edgemicro/mgstart.log&

and is working fine.

Now the question is how can we stop the microgateway running??

As CTRL+C is not going to work for this. Is there any other way apart from killing the process?

Please suggest.

0 1 371
1 REPLY 1

Former Community Member
Not applicable

The linux command "fg" will bring any background commands to the foreground. You will be able to ctrl+c then.