9 lines
164 B
Bash
Executable File
9 lines
164 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [[ -v IS_RUNIT ]]; then
|
|
exec 2>$LOG_DIR/elephant
|
|
exec 1>$LOG_DIR/elephant
|
|
fi
|
|
|
|
exec /usr/sbin/elephant -c $CONFIG_DIR/hosts/main/elephant "$@"
|