systemctl try-reload-or-restart
linux
Reload one or more units if they support it; otherwise restart them.
More info →Examples (3)
Reload or restart a specific unit
Reload or restart multiple units
systemctl try-reload-or-restart unit1 unit2 ...Reload or restart all units matching a pattern
systemctl try-reload-or-restart 'pattern'made by @shridhargupta | data from tldr-pages