OSDN Git Service

debian: update rules and newslash-sradjp.prerm
authorhylom <hylom@users.sourceforge.jp>
Tue, 10 Oct 2017 08:34:38 +0000 (17:34 +0900)
committerhylom <hylom@users.sourceforge.jp>
Tue, 10 Oct 2017 08:34:38 +0000 (17:34 +0900)
debian/newslash-sradjp.prerm
debian/rules

index cc3baae..5af6ffd 100644 (file)
@@ -8,6 +8,7 @@ set -e
 case "$1" in
     remove|upgrade)
       systemctl stop newslash
+      systemctl stop newslash-eventd
     ;;
 
     deconfigure|failed-upgrade)
index 8f7f513..84a1e39 100755 (executable)
@@ -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