Fix service for older systemd

This fixes issue #5037