7 Teleservice Application Framework
User Manual 89/374
ysysd
The system daemon's task is to
trigger the kernel watchdog (which triggers the hardware watchdog).
offer watchdog functionality to applications.
applications can register, trigger and cancel the watchdog service via D-Bus calls.
trigger, supervise and cancel the system shutdown.
start and stop the shutdown depending on the D+ pin.
delay the shutdown process according to the settings in the /tmp/sdruntime file.
send ignition event signals.
Basic configuration of the daemon could be handled in its own configuration file (ysysd.conf).
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/ysysd.log
Section: Ignition interface path
# The ysysd watches the ignition pin and would start the shutdown process if it is switched
off.
# Max. path length is 256
# If the path is deactivated or no path is set, an error message will be put on stdout.
dplus_path /proc/stw_shutdown/dplus