Skip to content

Commit 69a09a4

Browse files
committed
gridinit: Complete the sample configuration
1 parent 899eb12 commit 69a09a4

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

gridinit.conf

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,39 @@ limit.stack_size=1024
5353

5454

5555
[service.key-down]
56+
# group : STRING [ "," STRING ]...
57+
# A coma-separated sequence of tokens. Each tokens is the name of a
58+
# group the current service belongs to. It is usefull to have the commands
59+
# target many services at once, when specifying @groups instead of services
60+
# IDs.
5661
group=NS0,local
62+
63+
# The command to be executed.
5764
command=/bin/sleep 15
58-
enabled=true
59-
on_die=respawn
65+
66+
# Supersedes the default env variale with the same key.
6067
env.PATH=/bin:/usr/bin:/usr/local/bin
68+
69+
# Supersedes the default env variale with the same key.
6170
env.LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
71+
72+
# enabled : BOOL
73+
# Tells gridinit to consider (or not) that section in the configuration.
74+
enabled=true
75+
76+
# on_die : "respawn" | "cry"
77+
# Tells what to do when the child dies.
78+
# - "respawn": it will be respawn N times (after N attempts, it will be
79+
# considered BROKEN and it will have to be repaired.
80+
# - "cry": an alert will be logged, and that's it.
81+
on_die=respawn
82+
83+
# start_at_boot : BOOL
84+
# Optional, default: true
85+
# Tells if the service has to be started when it is met for the first
86+
# time (i.e. not changed if the service is refreshed after a configuration
87+
# reload). 'start_at_boot' is overriden by 'enable' or CLI 'start' and
88+
# 'stop' commands.
6289
start_at_boot=false
6390

6491

0 commit comments

Comments
 (0)