Our Gammu Smsd Services are being stopped about once a day. We need something to check the services (2 of them) and if they are not running to restart them. Also need to check the config file and match the device after restart, usually changes from a 0 to 1, or 1 to 0. There are 2 phones connected to the server.
The server is running Cent OS5, and is using whm/cpanel. This should be a failry simple job, and Ive seen posts about how to do it around, but I am just not that talented in Linux.
Dmesg will give you the device id of 0 or 1 to help you put it in the config file correctly. (but maybe you know something differently.