blob: dbff4807c9b8d44c51c2355dbd4a96df35a36739 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
#
# options for mwcollectd
#
# Usage: /usr/sbin/mwcollectd [options]
# Where options can be one of the following:
# -c <config-file> specify config file (defaults to /etc/mwcollectd.conf)
# -l <log-file> add log file
# -C add console logger
# -L <log-level> specify log level, inital is 3
# -D detach from console
# -h display this info
#
# Example:
# /usr/sbin/mwcollectd -L critical -C -L info -l /var/log/mwcollectd.log -c /etc/mwcollectd.conf
OPTIONS="-D -c /etc/mwcollect/mwcollectd.conf"
# example: add log file
# OPTIONS="$OPTIONS -l /var/log/mwcollect.log -L 3"
# see http://www.mwcollect.org/wiki/DocConfiguration for
# more info, which is currently empty, though
|