I have noticed that the PlaySMS turn off after certain time (like after certain time of inactivity). To turn on, I need to execute "playsmsd start" in the console. What can I do to avoid the server gets turn off by its own?
I put */10 * * * * /usr/local/bin/playsmsd watchdog >/dev/null 2>&1 on crontab
*/10 * * * * /usr/local/bin/playsmsd watchdog >/dev/null 2>&1
it means to check playsmsd every 10 minutes and restart it automatically IF playsmsd is dead
But why does PlaySMS get turn off/dead? Is there any way to avoid it? For example, in the case of apache, it generally keeps turn on.
playSMS should stay up always. I have no issues regarding unwanted crashes.What does playsms.log say? Do you see something in syslog?
Not found the cause of issue yet. Anybody having the same problem? I am using Centos 6.6. This is very important for us.
which playsms version do u use?
how/where do u install it, which linux distro?
Hello Anton. It's installed in /var/www/html... in Centos 6.6.
I am not sure if I installed it using the script or the manual installation.
which playsms version
The previous to the current one, this is, 1.0. What file does it contain the version number?
do u add or change the code?
I made some modifications to OpenVox plugin and made a new plugin for Dinstar gateway. About the last one, if you want I can share it with you. Anyway, I don't think this affected it. I remember like it was the same since the beginning.
I found this in /etc/playsmsd.conf:
What is the purpose of it?
What ownership must be for /etc/playsmsd.conf?
it is, for example, changing stuffs will require you to restart playsmsd, and all the code in your plugin will also be read when playsmsd is running. it could have no effect just like you said, but we can't rule it out.
between processes playsmsd will "sleep" for 1 second, don't ask what if you put 0, I haven't try that
can be owned by anyone, but should be readable by webserver's users (for example by www-data)
send me the crontab pl
I want to have dinstar plugin if it possible please send it to me email@example.com
Hi adeshjohnson, I would like a copy of your plugin I'm having a disntar but I can not make it work with dwg2000 playsms