storj/cmd/storagenode/systemctl
Yaroslav Vorobiov 244c488b10 storagenode: docker image autoupdate binaries
Get storagenode and storagenode-updater binaries during
run of the container to not to release new docker image
on each new version of the storagenode binary.

Change-Id: Ic0eb4a9c18a98598dfd9b96c1d352c7399496fd2
2021-04-21 17:56:20 +00:00

9 lines
164 B
Bash
Executable File

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