9 lines
167 B
Plaintext
9 lines
167 B
Plaintext
|
#!/bin/sh
|
||
|
|
||
|
if [ "$*" != "show --property=MainPID storagenode" ]; then
|
||
|
echo "invalid command" >&2
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
printf 'MainPID=%s' "$(supervisorctl pid storagenode)"
|