Use service instead of deprecated invoke-rc.d for init.d scripts