2019-09-10 16:18:39 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2019-10-29 13:41:10 +00:00
|
|
|
# TODO This script will no longer be necessary once we switch
|
|
|
|
# to the native LibP2P
|
|
|
|
|
2019-09-26 16:07:38 +00:00
|
|
|
# Deal with previous execution of the deamon leaving behind
|
|
|
|
# socket files that prevent the deamon from launching again
|
2019-10-29 13:41:10 +00:00
|
|
|
# inside the container:
|
|
|
|
killall p2pd
|
|
|
|
rm -rf /tmp/*
|
2019-09-10 16:18:39 +00:00
|
|
|
|
2019-11-01 15:15:53 +00:00
|
|
|
beacon_node "$@"
|
|
|
|
|