如何使用通配符重启 systemd 服务
restart_systemd_service_wildcard.sh
sudo systemctl restart "gitlab-*"将重启所有以 gitlab- 开头的 systemd 服务。" 只是必要的,这样你的 shell 就不会尝试解释通配符。
Check out similar posts by category:
Systemd
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow