diff options
Diffstat (limited to 'openbsc/debian/osmocom-nitb.init')
-rwxr-xr-x | openbsc/debian/osmocom-nitb.init | 7 |
1 files changed, 3 insertions, 4 deletions
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 |