fix systemd service handling

Modified by: Eystein Måløy Stenberg <eystein@cfengine.com>