add startup script
Merge pull request #2 from yushi/support-startup-post

add startup script