Skip to content

Commit

Permalink
dae: dont reload if service is not running
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
(cherry picked from commit 589d87b)
  • Loading branch information
1715173329 committed Sep 2, 2024
1 parent 5c9bda1 commit ed142ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion net/dae/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=dae
PKG_VERSION:=0.6.0
PKG_RELEASE:=1
PKG_RELEASE:=2

PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).zip
PKG_SOURCE_URL:=https://github.com/daeuniverse/dae/releases/download/v$(PKG_VERSION)/dae-full-src.zip?
Expand Down
2 changes: 1 addition & 1 deletion net/dae/files/dae.init
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ service_triggers() {
}

hot_reload() {
"$PROG" reload "$(cat /var/run/dae.pid)"
/etc/init.d/dae running && "$PROG" reload "$(cat /var/run/dae.pid)"
}

0 comments on commit ed142ce

Please sign in to comment.