View | Details | Raw Unified | Return to bug 158659
Collapse All | Expand All

(-)/root/atop/Makefile (-2 / +1 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	atop
8
PORTNAME=	atop
9
PORTVERSION=	1.26.b4
9
PORTVERSION=	1.26.b5
10
PORTREVISION=	1
11
CATEGORIES=	sysutils
10
CATEGORIES=	sysutils
12
MASTER_SITES=	${MASTER_SITE_BERLIOS}
11
MASTER_SITES=	${MASTER_SITE_BERLIOS}
13
MASTER_SITE_SUBDIR=atop-freebsd
12
MASTER_SITE_SUBDIR=atop-freebsd
(-)/root/atop/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (atop-1.26.fbsd.beta4.tar.bz2) = 1ac8ebc8ed47c2789f2eb22b4a84e3b2e624b6c55cc6c827026e3821e861fbb0
1
SHA256 (atop-1.26.fbsd.beta5.tar.bz2) = 7c28d0ebe4473c0041c8a392ee91e1869853674b3577a4287a3d32f759aeac65
2
SIZE (atop-1.26.fbsd.beta4.tar.bz2) = 130254
2
SIZE (atop-1.26.fbsd.beta5.tar.bz2) = 130289
(-)/root/atop/files/atop.in (-1 / +14 lines)
Lines 11-16 Link Here
11
#       /etc/rc.conf.local
11
#       /etc/rc.conf.local
12
#       /etc/rc.conf.d/atop
12
#       /etc/rc.conf.d/atop
13
#
13
#
14
# Add the following lines to /etc/rc.conf to enable atop in daemon mode:
15
# atop_enable (bool):         Set to "NO" by default.
16
#                             Set it to "YES" to enable atop in daemon mode
17
# atop_interval (str):        Set to 10 by default
18
#                             Interval for data capture.
19
# atop_logdir (str):          Set to "%%LOGDIR%%".
20
#                             Directory to store atop binary logs
21
# atop_keepdays (str):        Set to 30 by default.
22
#                             Number of days to keep the logs when "rotate"
23
#                             command is running.
24
# atop_flags (str):           Set to "" by default.
25
#                             Extra flags passed to start command.
26
#
27
#
14
# DO NOT CHANGE THESE DEFAULT VALUES HERE
28
# DO NOT CHANGE THESE DEFAULT VALUES HERE
15
29
16
. /etc/rc.subr
30
. /etc/rc.subr
Lines 45-51 Link Here
45
59
46
atop_rotate()
60
atop_rotate()
47
{
61
{
48
    
49
    echo "Rotating logfile (${name})."
62
    echo "Rotating logfile (${name})."
50
    # write final sample and stop
63
    # write final sample and stop
51
    sig_stop=SIGUSR2
64
    sig_stop=SIGUSR2
(-)/root/atop/files/pkg-message.in (-1 / +1 lines)
Lines 10-16 Link Here
10
10
11
You will also need to add "rotate" command to the system crontab:
11
You will also need to add "rotate" command to the system crontab:
12
12
13
0 0 * * *		%%PREFIX%%/etc/rc.d/atop rotate
13
0 0 * * *		%%PREFIX%%/etc/rc.d/atop rotate >dev/null
14
14
15
To change number of days to keep the logs (default - 30) use atop_keepdays
15
To change number of days to keep the logs (default - 30) use atop_keepdays
16
variable in your /etc/rc.conf file.
16
variable in your /etc/rc.conf file.

Return to bug 158659