hello all, I am happy to announce that we are almost ready with the deb packages for gnukhata-client as well as server. Now we are facing a problem and I thought some one like JTD would already know a solution to my problem. I have been trying to make a demon for gnukhata's server and want it to run as the postgres user. I would ideally want this to be in the init.d for start, stop and restart. In addition most of the people would want this to start at system boot.
Can some one tell me how this is generaly done? does some one have a link to a tutorial which would teach this. Also I want to know if I want to run this demon as a dedicated user? For security reasons postgresql has a dedicated user by the name of postgres and this is the most recommended way of running the system. So while I would want the demon to auto start at system boot, i would surely like to know if some one knows to make a demon run as a specific user? I know this might be very simple but this is the first time I am doing some thing similar.
happy hacking. Krishnakant.