1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-15 11:53:59 +02:00

Merge pull request #10699 from ysc3839/ttyd

ttyd: add reload trigger
This commit is contained in:
Hannu Nyman 2019-12-05 22:16:04 +02:00 committed by GitHub
commit 4562ce77ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View 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)?

View File

@ -96,3 +96,7 @@ shutdown() {
# close all open connections
killall "$NAME"
}
service_triggers() {
procd_add_reload_trigger "$NAME"
}