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