Allow init script to be symlinked

Get name of service from name of file - this allows to simply symlink init script to have multiple services, eg. separate shipper and indexer services on same host.