Package: gammu-smsd
Version: 1.28.0-1
Severity: normal

The file /etc/default/gammu-smsd contains the following line on new
installions:
| DAEMON_OPTS=""

I changed it to 'DAEMON_OPTS="--max-failures=1"', restarted the daemon
and it didn't stop after the first error. I found out that DAEMON_OPTS
is not used:

| $ grep -c DAEMON_OPTS /etc/init.d/gammu-smsd
| 0

Instead, it look like this (line 39-40):
|       start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
|               --exec $DAEMON -- $DAEMONPARAM --daemon --user $USER \

When I change the defaults file to "DAEMONPARAM", everything works
fine. But for the sake of consistency please change "DAEMONPARAM" to
"DAEMON_OPTS" in the init script, as a lot of Debian init script name
the variable this way.

-- System Information:
Debian Release: 6.0.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gammu-smsd depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  libc6                         2.11.3-4   Embedded GNU C Library: Shared lib
ii  libgammu7                     1.28.0-1   mobile phone management library
ii  libgsmsd7                     1.28.0-1   SMS daemon helper library

gammu-smsd recommends no packages.

Versions of packages gammu-smsd suggests:
pn  gammu                         <none>     (no description available)

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to