Browse Source

rpm fixes

Tobias von Dewitz 7 years ago
parent
commit
aa556cd7eb
2 changed files with 2 additions and 2 deletions
  1. 1 1
      build-rpm.sh
  2. 1 1
      logrotate.d/munchclient

+ 1 - 1
build-rpm.sh

@@ -2,7 +2,7 @@
 
 DESTDIR=./dist
 VERSION=`git describe --tag | sed 's/^v//'`
-ITERATION=1
+ITERATION=2
 BINARY=munchclient
 DEFAULTS_FILE="$BINARY"
 CONFIG_FILE="$BINARY.toml"

+ 1 - 1
logrotate.d/munchclient

@@ -5,6 +5,6 @@
     rotate 4 
     minsize 10000000
     postrotate
-    pkill /etc/init.d/munchclient restart || true
+    /etc/init.d/munchclient restart || true
     endscript
 }