mirror of
https://github.com/novatiq/packages.git
synced 2026-04-27 14:24:42 +01:00
ttyd: add reload trigger
Signed-off-by: Richard Yu <yurichard3839@gmail.com>
This commit is contained in:
@@ -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)?
|
||||
|
||||
@@ -96,3 +96,7 @@ shutdown() {
|
||||
# close all open connections
|
||||
killall "$NAME"
|
||||
}
|
||||
|
||||
service_triggers() {
|
||||
procd_add_reload_trigger "$NAME"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user