I am having a remote server to which i connect using ssh. I started a process(mongodb) on the server using following command- "/usr/bin/mongod --dbpath /mnt/ebs-300/mongodb --logpath /mnt/ebs-300/log/mongodb/mongodb.log run --config /etc/mongodb.conf &"
As '&' is appended to the command this process runs in the background. After running the process and checking its working properly i exit from the teminal(ssh). This process got killed after some time by printing the below logs - "got kill or ctrl c or hup signal 1 (Hangup), will terminate after current cmd ends"
Can some one please guide me if I am doing wrong or there is proper way to run the process from the remote terminal.
Thanks!!