storj/cmd/storagenode/docker/bin/systemctl
Clement Sam 7e63afbef6 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.

Fixes https://github.com/storj/storj/issues/4176

Change-Id: I994c4942136a2cc7298eb0346238689eb406ae5b
2022-02-02 11:40:04 +00:00

9 lines
167 B
Bash
Executable File

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