summaryrefslogtreecommitdiff
path: root/src/biruda.ggo
blob: b6758fd0b93a0a5c0b33535df38f3f6107d9dd34 (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
package "Biruda build service"
version "0.0.1"
usage "biruda [options]"
description "Biruda node"

section "Main Options"
	option "config-file" c
		"the location of the service configuration file (optional, default is /etc/biruda/biruda.conf)"
		string typestr="file"
		optional
		
	option "test" t
		"test the configuration, don't start the service"
		optional

	option "print" p
		"print the configuration, don't start the service"
		optional

	option "verbose" v
		"increase verbosity (can be given multiple times)"
		optional multiple
	
	option "cli" i
		"start in command line interface (CLI), interactive mode"
		optional

section "Unix Daemon"

	option "foreground" f
		"run in foreground, don't daemonize"
		optional

	option "pidfile" -
		"where to store the PID of the daemon"
		string typestr="filename"
		optional

	option "group" -
		"the unpriviledged group the daemon should run as"
		string typestr="group"
		optional

	option "user" -
		"the unpriviledged user the daemon should run as"
		string typestr="user"
		optional