change rails app init script and add this servise to autostart