mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
network/murmur: Fixed logrotate script (added "su" directive)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
09bf0257aa
commit
dbfd826b2e
3 changed files with 5 additions and 4 deletions
|
@ -5,7 +5,7 @@
|
|||
PRGNAM=murmur
|
||||
SRCNAM=mumble
|
||||
VERSION=${VERSION:-1.2.3}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -100,8 +100,8 @@ sed \
|
|||
|
||||
sed \
|
||||
-e "s,@LOGFILE@,/var/log/$PRGNAM/$PRGNAM.log," \
|
||||
-e "s,@USER@,$MURMUR_USER," \
|
||||
-e "s,@GROUP@,$MURMUR_GROUP," \
|
||||
-e "s,@USER@,$MURMUR_USER,g" \
|
||||
-e "s,@GROUP@,$MURMUR_GROUP,g" \
|
||||
$CWD/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new
|
||||
|
||||
chown root:$MURMUR_GROUP $PKG/etc/$PRGNAM.ini.new
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sourceforge.net/mumble/mumble-1.2.3.tar.gz"
|
|||
MD5SUM="55804e3dfe98b16eeb40abca6c254625"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
REQUIRES="%README%"
|
||||
MAINTAINER="James Geboski"
|
||||
EMAIL="jgeboski@gmail.com"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
@LOGFILE@ {
|
||||
su @USER@ @GROUP@
|
||||
weekly
|
||||
rotate 7
|
||||
compress
|
||||
|
|
Loading…
Reference in a new issue