How to restart systemd service with wildcard

sudo systemctl restart "gitlab-*"

will restart all systemd services starting with gitlab-. TheĀ " are only neccessary so your shell doesn’t try to interpret the wildcard.