The requirement is keep a geth node synchronised almost always for a DAPP . The geth node is running on a ubuntu machine. The command being used to expose the geth rpc server is
geth --testnet --rpcapi admin,db,eth,debug,miner,net,shh,txpool,personal,web3 --rpcport 8545 --rpccorsdomain "*" --rpcaddr "127.0.0.1" --rpc
I usually connect to the server using putty . But when I close the putty session , the geth process also gets killed .I need to avoid this. What is required is to keep the geth syncing continuously , so that any user who uses the DAPP can make a transaction anytime.