Read init script recipe from Rails.root path. Fix #4174

Signed-off-by: Axilleas Pipinellis <axilleas@archlinux.gr>
Merge pull request #4204 from axilleas/initd_check-fix

Read init script recipe from Rails.root path. Fix #4174