From: hylom Date: Tue, 10 Oct 2017 08:34:38 +0000 (+0900) Subject: debian: update rules and newslash-sradjp.prerm X-Git-Tag: v0.1.1~284 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f75c13507ace3d6bfe59577288623bc1dfa2d70e;p=newslash%2Fnewslash.git debian: update rules and newslash-sradjp.prerm --- diff --git a/debian/newslash-sradjp.prerm b/debian/newslash-sradjp.prerm index cc3baae7..5af6ffd4 100644 --- a/debian/newslash-sradjp.prerm +++ b/debian/newslash-sradjp.prerm @@ -8,6 +8,7 @@ set -e case "$1" in remove|upgrade) systemctl stop newslash + systemctl stop newslash-eventd ;; deconfigure|failed-upgrade) diff --git a/debian/rules b/debian/rules index 8f7f5137..84a1e399 100755 --- a/debian/rules +++ b/debian/rules @@ -59,6 +59,7 @@ install/$(ASSETS):: install/$(SRAD):: install -pDm 644 misc/newslash.service $(CURDIR)/debian/$(SRAD)/lib/systemd/system/newslash.service + install -pDm 644 misc/newslash-eventd.service $(CURDIR)/debian/$(SRAD)/lib/systemd/system/newslash-eventd.service # install -pDm 644 $(SRCDIR)/newslash-web.production.json $(SRAD_DEST)/newslash-web.production.json # todo: restart systemd, add PIDFile dir