Restarting modules with gateway script

Is there way restart ignition modules with gateway script? Sometimes some modules
(for example opc ua) needs restarting and it would be far more convenient to restart one of those from watchdog bit. Navigating to restart obviously works, but some inbuilt function would be better. Versions used are 7.8, but it would be usefull to know if there is one for newer ones also.