[DRE-commits] [schleuder] 02/03: debian/schleuder.postinst: Restart the API daemon by default
Georg Faerber
georg-alioth-guest at moszumanska.debian.org
Tue Dec 13 18:02:45 UTC 2016
This is an automated email from the git hooks/post-receive script.
georg-alioth-guest pushed a commit to branch master
in repository schleuder.
commit 7db4ea29a96e1cb80556ee53f397aa86aa86f3b3
Author: Georg Faerber <georg at riseup.net>
Date: Tue Dec 13 17:36:20 2016 +0100
debian/schleuder.postinst: Restart the API daemon by default
---
debian/schleuder.postinst | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/debian/schleuder.postinst b/debian/schleuder.postinst
index 932151b..35136d7 100644
--- a/debian/schleuder.postinst
+++ b/debian/schleuder.postinst
@@ -34,12 +34,7 @@ case "$1" in
# Upgrades of schleuder (>= 3.0).
else
- # Only restart 'schleuder-api-daemon' if it is running currently.
- RUNNING=$(systemctl is-active schleuder-api-daemon.service >/dev/null && echo $?)
-
- if [ $RUNNING = 0 ]; then
- deb-systemd-invoke restart schleuder-api-daemon.service
- fi
+ deb-systemd-invoke restart schleuder-api-daemon.service
fi
;;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/schleuder.git
More information about the Pkg-ruby-extras-commits
mailing list