smstools3: Run in foreground
authorRosen Penev <rosenp@gmail.com>
Wed, 1 Jan 2020 05:37:23 +0000 (21:37 -0800)
committerRosen Penev <rosenp@gmail.com>
Wed, 1 Jan 2020 05:37:23 +0000 (21:37 -0800)
Allows procd to be able to stop the service.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/smstools3/Makefile
utils/smstools3/files/smstools3.init

index 7acdcc0926cb32072de8c0f493935ba14d68276b..3c4850482d0277b3741dd83b5f8ae2e4203a11f6 100644 (file)
@@ -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
 
index b46fa5a286df0aad934af1e38875e988abc535a6..c036b8aadef5b3ae9b43464f14e498337ebbf04b 100644 (file)
@@ -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