I have done the configurations for processing email messages with a script.
I run the following command on the server.
daemonize -p $PWD/imap2script.pid -o $PWD/imap2script.log -e $PWD/imap2script.log \
-c $PWD /usr/local/bin/imap2script --config $PWD/config.json
But it seems to work only once. When I exit the shell the command is not being process in the background anymore. Am'I missing anything, Could you please assist?