This website requires JavaScript.
Explore
Help
Register
Sign In
JakeHillion
/
storj
Watch
1
Star
0
Fork
0
You've already forked storj
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
52ede93086
storj
/
cmd
/
storagenode
/
docker-base
/
bin
/
stop-supervisor
7 lines
89 B
Plaintext
Raw
Normal View
History
Unescape
Escape
cmd/storagenode: fix failing supervisord "processes" eventlistener /bin/stop-supervisor fails in posix shell since the standard read utility takes at least one variable's name as argument. Changing the header #!bin/sh to #!/bin/bash fixes this issue. `read` with no variable's name works in bash. Looks like the shell in alpine isn't POSIX-compliant so we didn't encounter this issue on alpine. Also, I changed the name from "processes" to "processes-exit-eventlistener" to make it clearer in the logs since supervisord spawns event listeners as separate processes. Change-Id: Ife9378c2013e2eb54f2adcd52a163d64eaacbbab
2022-05-04 03:37:01 +01:00
#!/bin/bash
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
2021-08-24 10:26:37 +01:00
printf "READY\n";
while read -r; do
kill -SIGQUIT $PPID
done < /dev/stdin
Reference in New Issue
Copy Permalink