refactor linux install script

change tabs to spaces and fix indent

use of bash instead of hardcoded scriptname

change order of variables for user experience
Merge pull request #2 from jdupl/master

refactor linux daemon script