mirror of
https://github.com/wahyd4/telegraf.git
synced 2026-08-09 04:36:05 +10:00
9 lines
89 B
Bash
Executable File
9 lines
89 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
if [ "${1:0:1}" = '-' ]; then
|
|
set -- telegraf "$@"
|
|
fi
|
|
|
|
exec "$@"
|