api for controlling services and rebooting

Version 1.293

Feature
Finished

eg: method: GET CMD_API_SERVICE?action=restart&service=proftpd To see service status: CMD_API_SHOW_SERVICES: http://www.directadmin.com/features.php?id=547 method: POST CMD_API_REBOOT passwd=adminpass Note: for CMD_REBOOT.. if you don't get any result it's probaly because the machine has already started the reboot process killing DA before the output could be given.

Interested to try DirectAdmin? Get a 30-day Free Trial!