ttyd: add reload trigger 10699/head
authorRichard Yu <yurichard3839@gmail.com>
Tue, 3 Dec 2019 01:17:12 +0000 (09:17 +0800)
committerRichard Yu <yurichard3839@gmail.com>
Tue, 3 Dec 2019 01:17:12 +0000 (09:17 +0800)
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
utils/ttyd/Makefile
utils/ttyd/files/ttyd.init

index 8fa6c7ced6d1530fdb937c812d3327d989515c01..3d4f58233b5c3c6fc1c379b834688b431b191bee 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ttyd
 PKG_VERSION:=1.5.2
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/tsl0922/ttyd/tar.gz/$(PKG_VERSION)?
index c96d5709621cee407151f97f7f5b8fa51a6cb190..7206ff74267ebdd3876bd0936e0946a7492c8e6e 100644 (file)
@@ -96,3 +96,7 @@ shutdown() {
        # close all open connections
        killall "$NAME"
 }
+
+service_triggers() {
+       procd_add_reload_trigger "$NAME"
+}