ganache-cli --host 0.0.0.0 --port 8545 --networkId 5777 --verbose \
-d suit there curtain unfold traffic brick \
one genre holiday include bring thumb \
--db database > ganache_$(TZ="Asia/Seoul" date "+%Y-%m-%d:%T").log & disown
위와 같은 스크립트로 가나슈를 VM에서 실행하면 아래와 같은 장점이 있다.
결국에는
disown
을 사용하지 않고 pm2를 활용해서 실행시켰다.