7 Teleservice Application Framework
User Manual 98/374
7.2.5 SMS daemon
/etc/init.d/_ysmsd.config
How to activate the configuration file of the SMS daemon:
Activate the configuration file of the SMS daemon, so the SMS daemon is started during the boot up sequence
automatically.
1. Rename the configuration file ynetworkd the following way:
# mv /etc/init.d/_ysmsd.config /etc/init.d/ysmsd.config
2. Reboot the system:
# reboot
ysmsd
The SMS daemon provides functions to send and to receive SMS. All applications can request them over D-
Bus from the ysmsd. A incoming SMS is sent as D-Bus signals to all applications that are listening on the D-
Bus. Outgoing SMS can be handed over to the daemon via D-Bus methods.
Basic configuration of the daemon could be handled in its own configuration file (ysmsd.config).
Relevant sections of the configuration file:
Section: Log file path
# The logging information can be written to a log file at the following path
# By default, the path is deactivated because the corresponding line is commented out.
# Max. path length is 255
# If the path is deactivated or no path is set, an error message will be put on stdout.
Log_File /var/log/ysmsd.log
Section: Supervising the SMS daemon
# SMS daemon can be supervised by a watchdog (provided by the ysysd daemon).
# The time when the watchdog shall be triggered is set by "watchdog_interval".
# Min. interval and default is 10s, max. interval is 0x7FFFFFF, recommended max. is 100s