aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc
diff options
context:
space:
mode:
authorEric Butler <eric@codebutler.com>2012-08-19 16:06:05 -0700
committerHarald Welte <laforge@gnumonks.org>2012-08-26 20:09:55 +0200
commit3d610e63ccb3e9e1e369fd557564679dc611298d (patch)
tree4a8ad5ae71c783b782171120ea9df9374dde9fb0 /openbsc
parentdd68fcaeeee4654016ae8b0681d1f4a6adc373a0 (diff)
Fix init script.
Diffstat (limited to 'openbsc')
-rw-r--r--openbsc/debian/changelog6
-rw-r--r--openbsc/debian/osmocom-nitb.default2
-rwxr-xr-xopenbsc/debian/osmocom-nitb.init7
3 files changed, 10 insertions, 5 deletions
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 <eric@codebutler.com> 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