|
1 | 1 | [Default]
|
2 |
| -#listen=/var/run/gridinit.sock |
3 |
| -pidfile=/var/run/gridinit.pid |
| 2 | +# Default:listen GRIDINIT_SOCK_PATH |
| 3 | +listen=/tmp/gridinit.sock |
| 4 | + |
| 5 | +# No default value |
| 6 | +# Specify a path to let gridinti write its pid file. |
| 7 | +pidfile=/tmp/gridinit.pid |
4 | 8 |
|
5 | 9 | # Default:uid : STRING | INTEGER
|
6 | 10 | # The default user ID to be applied to services. You can use even
|
7 |
| -# a logical name or its ID. |
| 11 | +# a logical name or its ID. |
8 | 12 | uid=root
|
9 | 13 |
|
10 | 14 | # Default:gid : STRING | INTEGER
|
11 | 15 | # The default group ID to be applied to services. You can use even
|
12 |
| -# a logical name or its ID. |
| 16 | +# a logical name or its ID. |
13 | 17 | gid=root
|
14 | 18 |
|
15 | 19 | # Default:include : PATTERN
|
@@ -43,59 +47,37 @@ limit.core_size=-1
|
43 | 47 | limit.max_files=8192
|
44 | 48 |
|
45 | 49 | # Default:limit.stack_size : INTEGER
|
46 |
| -# Default maximal thread stack size in kilobytes for each |
| 50 | +# Default maximal thread stack size in kilobytes for each |
47 | 51 | # Default value : 1024
|
48 | 52 | limit.stack_size=1024
|
49 | 53 |
|
50 |
| -# Default:groups_only : STRING[,STRING]... |
51 |
| -# Set this variable if you want to filter the services. Only those |
52 |
| -# matching one of the given groups will be considered by CLI |
53 |
| -# start/stop commands |
54 |
| -groups_only=NS-common,NS-stgdev |
55 |
| - |
56 |
| -[service.key0] |
57 |
| - |
58 |
| -# group : STRING |
59 |
| -# Optional configuration directive setting an arbitrary tag on the |
60 |
| -# service. This tag allows start/stop CLI commands to work on the current |
61 |
| -# service when an argument with the form '@STRING' is present and STRING |
62 |
| -# matches the current service's group. |
63 |
| -group=NS0 |
64 |
| - |
65 |
| -# command : STRING |
66 |
| -# Mandatory Directive |
67 |
| -command=gridinit_testcmd /tmp/key0.out 5 |
68 |
| - |
69 |
| -# enabled : BOOL |
70 |
| -# Optional directive telling if the service is allowed to start. |
71 |
| -# A disabled service cannot be started even if start CLI commands |
72 |
| -# are sent. |
73 |
| -enabled=true |
74 | 54 |
|
75 |
| -# on_die : 'cry' | 'respawn' |
76 |
| -# Optional and dangerous directive telling what to do with the whole |
77 |
| -# gridinit when the current service dies, whatever the normality of |
78 |
| -# the death. |
| 55 | +[service.key-down] |
| 56 | +group=NS0,local |
| 57 | +command=/bin/sleep 15 |
| 58 | +enabled=true |
79 | 59 | on_die=respawn
|
80 |
| - |
81 |
| -# env.STRING : STRING |
82 |
| -# |
83 | 60 | env.PATH=/bin:/usr/bin:/usr/local/bin
|
84 | 61 | env.LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
|
| 62 | +start_at_boot=false |
85 | 63 |
|
86 |
| -# uid : STRING | INTEGER |
87 |
| -# Ignored if the gridinit uid is not 0 |
88 |
| -uid=root |
89 | 64 |
|
90 |
| -# gid : STRING | INTEGER |
91 |
| -# Ignored if the gridinit uid is not 0 |
92 |
| -gid=root |
| 65 | +[service.key-disabled] |
| 66 | +group=NS0,local |
| 67 | +command=/bin/sleep 15 |
| 68 | +enabled=false |
| 69 | +on_die=respawn |
| 70 | +env.PATH=/bin:/usr/bin:/usr/local/bin |
| 71 | +env.LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib |
| 72 | +start_at_boot=true |
93 | 73 |
|
94 |
| -# start_at_boot : BOOL |
95 |
| -# Optional, default: true |
96 |
| -# Tells if the service has to be started when it is met for the first |
97 |
| -# time (i.e. not changed if the service is refreshed after a configuration |
98 |
| -# reload). 'start_at_boot' is overriden by 'enable' or CLI 'start' and |
99 |
| -# 'stop' commands. |
| 74 | + |
| 75 | +[service.key1] |
| 76 | +group=NS1,local |
| 77 | +command=/bin/sleep 25 |
| 78 | +enabled=true |
| 79 | +on_die=respawn |
| 80 | +env.PATH=/bin:/usr/bin:/usr/local/bin |
| 81 | +env.LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib |
100 | 82 | start_at_boot=true
|
101 | 83 |
|
0 commit comments