summaryrefslogtreecommitdiff
blob: 3910e33fd6492317ea6fc3c27a6899becbe3ad79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-nntp/sabnzbd/files/sabnzbd.logrotate,v 1.1 2013/02/06 04:59:55 jsbronder Exp $

/var/log/sabnzbd/*.log{
	missingok
	notifempty
	su sabnzbd sabnzbd
	sharedscripts
	postrotate
		/etc/init.d/sabnzbd status && /etc/init.d/sabnzbd restart
	endscript
}