Skip to content

Commit

Permalink
rpm fedora: reload systemd conf file with install/upgrade time
Browse files Browse the repository at this point in the history
  • Loading branch information
kenhys committed Sep 6, 2012
1 parent 658b92e commit 55a10a6
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/rpm/fedora/groonga.spec.in
Expand Up @@ -233,14 +233,11 @@ fi
exit 0

%post server
if [ $1 = 1 ] ; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
fi
/bin/systemctl daemon-reload >/dev/null 2>&1 || :

%post httpd
if [ $1 = 1 ] ; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
elif [ $1 = 2 ]; then
/bin/systemctl daemon-reload >/dev/null 2>&1 || :
if [ $1 = 2 ]; then
%{_sbindir}/groonga-httpd-restart
fi

Expand Down

0 comments on commit 55a10a6

Please sign in to comment.