replace the service stuff with newly added systemd subroutines