smstools3: Run in foreground
Allows procd to be able to stop the service. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
40a7b4ec35
commit
a3ab7a7931
2 changed files with 7 additions and 8 deletions
|
@ -9,7 +9,12 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=smstools3
|
||||
PKG_VERSION:=3.1.21
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
|
||||
PKG_HASH:=a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
PKG_MAINTAINER:=Harald Geyer <harald@ccbib.org>
|
||||
PKG_LICENSE:=GPL-2.0
|
||||
|
@ -17,12 +22,6 @@ PKG_LICENSE_FILES:=LICENSE
|
|||
|
||||
PKG_BUILD_PARALLEL:=0
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://smstools3.kekekasvi.com/packages/
|
||||
PKG_HASH:=a26ba4c02b16f6cf13177bffca6c9230dc5fefaeba8e3030cd4e4905f6a92084
|
||||
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(INCLUDE_DIR)/nls.mk
|
||||
|
||||
|
|
|
@ -27,7 +27,7 @@ start_service() {
|
|||
|
||||
procd_open_instance
|
||||
|
||||
procd_set_param command $DAEMON -n MAINPROCESS -p$PIDFILE -i$INFOFILE
|
||||
procd_set_param command $DAEMON -t -n MAINPROCESS -p$PIDFILE -i$INFOFILE
|
||||
procd_set_param respawn
|
||||
procd_set_param stdout 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue