add 1sec sleeps to beginning of services
This commit is contained in:
parent
43719766d5
commit
2942b8d472
@ -1,5 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
sleep 1 # prevent cpu spike on looping
|
||||||
|
|
||||||
export IPFS="/usr/local/bin/ipfs"
|
export IPFS="/usr/local/bin/ipfs"
|
||||||
export HOME="/home/ipfs"
|
export HOME="/home/ipfs"
|
||||||
|
|
||||||
|
2
sync.run
2
sync.run
@ -17,6 +17,8 @@
|
|||||||
# Make a full sync of an Ubuntu mirror.
|
# Make a full sync of an Ubuntu mirror.
|
||||||
# This currently requires more than 1TB of storage space and takes a long time.
|
# This currently requires more than 1TB of storage space and takes a long time.
|
||||||
|
|
||||||
|
sleep 1 # prevent cpu spike on looping
|
||||||
|
|
||||||
chown ipfs:ipfs /mirror
|
chown ipfs:ipfs /mirror
|
||||||
|
|
||||||
chpst -u ipfs /bin/bash << '__EOF__'
|
chpst -u ipfs /bin/bash << '__EOF__'
|
||||||
|
Loading…
Reference in New Issue
Block a user