3

Support any service when calling the Restart Service API


N
boundless

I wanted to restart a PHP FPM service with the "Restart service" API endpoint.

The docs say it only supports: "mysql", "nginx", "supervisor". Despite that, I hoped it would support any valid service name, so I tried calling it with "php7.4-fpm" but that produced the error message: "Specified service "php7.4-fpm" is not a valid service."

Please make it possible to pass any valid service name to the "Restart service" API endpoint.

A

Activity Newest / Oldest

Avatar

Dennis

Status changed to: Planned