18 lines
446 B
Markdown
18 lines
446 B
Markdown
|
## BIN
|
||
|
|
||
|
Binary modes just executes any script in shell (`/bin/sh` by default). You can override shell per-unit
|
||
|
by `shell: /path/to/shell` configuration param.
|
||
|
|
||
|
To handle a graceful timeout, child should be able to forward signal: basically, use `exec` before last command.
|
||
|
|
||
|
Danger (but will work), signals may not be handled by foo
|
||
|
|
||
|
```yaml
|
||
|
command: "V=1 RAIL=2 foo bar -c -y -z"
|
||
|
```
|
||
|
|
||
|
Good
|
||
|
|
||
|
```yaml
|
||
|
command: "V=1 RAIL=2 exec foo bar -c -y -z"
|
||
|
```
|