summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/diag-common2.conf
blob: 94f7e87fe8d83dd236b7897e9b46b45f9163329e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# This is a config include file. It sets up rsyslog so that the
# diag system can successfully be used. Also, it generates a file
# "rsyslogd.started" after rsyslogd is initialized. This config file
# should be included in all tests that intend to use common code for
# controlling the daemon.
# NOTE: we assume that rsyslogd's current working directory is 
# ./tests (or the distcheck equivalent), in particlular that this
# config file resides in the testsuites subdirectory.
# rgerhards, 2009-05-27
$ModLoad ../plugins/imdiag/.libs/imdiag
$IMDiagServerRun 13501

$template startupfile,"rsyslogd2.started" # trick to use relative path names!
:syslogtag, contains, "rsyslogd"  ?startupfile

$ErrorMessagesToStderr off