summaryrefslogtreecommitdiff
path: root/tests/daemon/testd.ggo
blob: f9335a27619aa05511091c871bb7b1260529939d (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
package "testd"
version "0.0.1"
usage "testd [options]"
description "tests daemonizing on Unix without any functionality\n"

section "Main Options"
	option "foreground" f
		"Do not daemonize, run in foreground, write to stdout/stderr"
		optional
		
	option "config-file" c
		"The location of the configuration file of the daemon"
		string typestr="file"
		optional
		
	option "debug" d
		"Increase debug level (option can be given many times)"
		optional multiple hidden
		
	option "test" t
		"Test the configuration without running the daemon"
		optional

section "Query Options"
	option "list-modules" -
		"List loaded modules"
		optional hidden

section "Daemon Options"
	option "user" u
		"User the daemon should run as"
		string typestr="user"
		optional hidden
		
	option "group" g
		"Group the daemon should run as"
		string typestr="group"
		optional hidden
		
	option "pidfile" -
		"Location of the pidfile (explicitly, normaly the system knows where to store them)"
		string typestr="file"
		optional hidden
		
	option "syslog-facility" -
		"System log facility to use for logging to system log"
		optional hidden
		typestr="facility"
		values="KERN","USER","MAIL","DAEMON","AUTH","SYSLOG","LPR","NEWS","UUCP","CRON","AUTHPRIV","FTP", "NTP", "SECUITY", "CONSOLE", "AUDIT", "LOCAL0", "LOCAL1", "LOCAL2", "LOCAL3", "LOCAL4", "LOCAL5", "LOCAL6", "LOCAL7"
		default="DAEMON"
		
	option "syslog-level" -
		"Level for logging to system log"
		optional hidden
		typestr="level"
		values="EMERG","ALERT","CRIT","ERR","WARNING","NOTICE","INFO","DEBUG","DEBUG1","DEBUG2","DEBUG3","DEBUG4","DEBUG5"
		default="NOTICE"
		
	option "logfile" -
		"Name of a log file where to log to"
		string typestr="file"
		optional hidden
		
	option "logfile-level" -
		"Level for logging to the logfile"
		optional hidden
		typestr="level"
		values="EMERG","ALERT","CRIT","ERR","WARNING","NOTICE","INFO","DEBUG","DEBUG1","DEBUG2","DEBUG3","DEBUG4","DEBUG5"
		default="NOTICE"