diff --git a/openbsc/debian/changelog b/openbsc/debian/changelog index 9e7b91adb..fdab4b87a 100644 --- a/openbsc/debian/changelog +++ b/openbsc/debian/changelog @@ -1,3 +1,9 @@ +openbsc (0.12.0+git26-3) precise; urgency=low + + * Fix init script. + + -- Eric Butler Sun, 19 Aug 2012 16:05:44 -0700 + openbsc (0.12.0+git26-2) precise; urgency=low * Fix libdbi package dependency. diff --git a/openbsc/debian/osmocom-nitb.default b/openbsc/debian/osmocom-nitb.default index b9281983f..3ca21930f 100644 --- a/openbsc/debian/osmocom-nitb.default +++ b/openbsc/debian/osmocom-nitb.default @@ -1,2 +1,2 @@ -# Configuration file CONFIG_FILE="/etc/osmocom/osmo-nitb.cfg" +DAEMON_ARGS="-m" diff --git a/openbsc/debian/osmocom-nitb.init b/openbsc/debian/osmocom-nitb.init index 8373ce7cf..b700deaca 100755 --- a/openbsc/debian/osmocom-nitb.init +++ b/openbsc/debian/osmocom-nitb.init @@ -16,9 +16,8 @@ # PATH should only include /usr/* if it runs after the mountnfs.sh script PATH=/sbin:/usr/sbin:/bin:/usr/bin DESC=osmo-nitb # Introduce a short description here -NAME=osmo-nitb # Introduce the short server's name here -DAEMON=/usr/sbin/osmo-nitb # Introduce the server's location here -DAEMON_ARGS="-D" # Arguments to run the daemon with +NAME=osmocom-nitb # Introduce the short server's name here +DAEMON=/usr/bin/osmo-nitb # Introduce the server's location here PIDFILE=/var/run/$NAME.pid SCRIPTNAME=/etc/init.d/$NAME @@ -35,7 +34,7 @@ SCRIPTNAME=/etc/init.d/$NAME # Depend on lsb-base (>= 3.0-6) to ensure that this file is present. . /lib/lsb/init-functions -DAEMON_ARGS="$DAEMON_ARGS -c $CONFIG_FILE" +DAEMON_ARGS="$DAEMON_ARGS -D -c $CONFIG_FILE" # # Function that starts the daemon/service