File: daemon.conf

package info (click to toggle)
daemon 0.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,072 kB
  • sloc: ansic: 30,432; sh: 4,310; perl: 592; makefile: 307
file content (96 lines) | stat: -rw-r--r-- 1,965 bytes parent folder | download | duplicates (2)
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
# Test config file for daemon

* errlog=daemon.err
* dbglog=daemon.err
* output=daemon.err
 *   verbose=9   ,   \
     debug=9

test1 respawn,acceptable=10,\
attempts=2,delay=10,limit=2,core

test2 respawn,acceptable=10, \
attempts=2,delay=10,limit=2,core

test3 respawn,acceptable=10, \
      attempts=2,delay=10,limit=2,stderr=local0.err

test4 umask=077,env=HOME=/tmp, \
      env=LOGNAME=foobar, \
      env=PATH=/bin:/usr/bin

test5 safe
test6 safe
test7 safe
test8 safe
test9 safe
test10 safe
test11 safe
test12 foreground
test13 foreground,pty=noecho
test14 foreground,pty=noecho
test15 foreground,pty=noecho
test16 stdout=test16.stdout,stderr=test16.stderr
test17 dbglog=test17.dbg,output=test17.output
test18 errlog=test18.err,dbglog=test18.dbg
test20 umask=hello
test21 acceptable=9
test22 attempts=-1
test23 attempts=101
test24 delay=9
test25 limit=-1
test26 pty=hello
test27 safe,unsafe
test28 pty
test29 acceptable=10
test30 attempts=2
test31 delay=10
test32 limit=2
test35 name=unimportant
test36 chroot=/
test37 user=nobody
test47 respawn,acceptable=10,attempts=2,delay=10,limit=2,core
test48 respawn,acceptable=10,attempts=2,delay=10,limit=2,core
test58 respawn,acceptable=10,attempts=2,delay=10,limit=2,core
test60 respawn,delay=10,limit=3
test61 command=/bin/echo test61
test62 command=/bin/echo test62
test67 respawn,acceptable=10,attempts=2,delay=10,limit=2

# test69 get/put environment variables

command=echo ~ ~root /~ ${HOME} $S
pidfiles=/tmp
pidfile=/tmp/blah.pid
chdir=/
umask=022
env=VAR=VAL
pty=noecho
out=/tmp/daemontest.log
	errlog=$out
	dbglog=$out
	output=$out
	stdout=$out
	stderr=$out
	signal=term

BASE=/usr/local/bin:/usr/bin
PATH=$BASE:~/bin:$HOME/bin2

test69 \
	command=$command, \
	pidfiles=$pidfiles, \
	pidfile=$pidfile, \
	chdir=$chdir, \
	umask=$umask, \
	inherit, \
	env=$env, \
	foreground, \
	pty=$pty, \
	errlog=$errlog, \
	dbglog=$dbglog, \
	output=$output, \
	stdout=$stdout, \
	stderr=$stderr, \
	signal=$signal