service script
updated sample to reflect current usages
updated service installation
fixed to execute correctly
rejects connections if not in server-mode