From: Richard Yu Date: Tue, 3 Dec 2019 01:17:12 +0000 (+0800) Subject: ttyd: add reload trigger X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7331df7bac752d7fad458600ca87fc2dafcfbe9e;p=feed%2Fpackages.git ttyd: add reload trigger Signed-off-by: Richard Yu --- diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 8fa6c7ced6..3d4f58233b 100644 --- a/utils/ttyd/Makefile +++ b/utils/ttyd/Makefile @@ -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)? diff --git a/utils/ttyd/files/ttyd.init b/utils/ttyd/files/ttyd.init index c96d570962..7206ff7426 100644 --- a/utils/ttyd/files/ttyd.init +++ b/utils/ttyd/files/ttyd.init @@ -96,3 +96,7 @@ shutdown() { # close all open connections killall "$NAME" } + +service_triggers() { + procd_add_reload_trigger "$NAME" +}