Permalink
Browse files

Tweaking post-install

  • Loading branch information...
1 parent ca2db9f commit fa3cd263cc92f09e3b59a841eea0b145eb8b7808 Bjarni R. Einarsson committed Aug 13, 2011
Showing with 5 additions and 2 deletions.
  1. +5 −2 rpm/rpm-post.sh
View
@@ -1,7 +1,10 @@
-chkconfig --add pagekite
-
# HACK: Enable default config files, without overwriting.
cd /etc/pagekite.d/default
for conffile in *; do
[ -e ../$conffile ] || cp -a $conffile ..
done
+
+# Make sure PageKite is restarted if necessary
+chkconfig --add pagekite || true
+service pagekite status && service pagekite restart
+

0 comments on commit fa3cd26

Please sign in to comment.