From 7331df7bac752d7fad458600ca87fc2dafcfbe9e Mon Sep 17 00:00:00 2001 From: Richard Yu Date: Tue, 3 Dec 2019 09:17:12 +0800 Subject: [PATCH] ttyd: add reload trigger Signed-off-by: Richard Yu --- utils/ttyd/Makefile | 2 +- utils/ttyd/files/ttyd.init | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/ttyd/Makefile b/utils/ttyd/Makefile index 8fa6c7ced..3d4f58233 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 c96d57096..7206ff742 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" +}