start-stop-script

Stops, starts or restarts the server process for some script This command can be used to start, stop or restart the server process behind some script, such as one using Node.js. It takes the usual --domain parameter to identify the server, and either --id followed by the install ID, or --type followed by the script’s short name. The latter option is more convenient, but only works if there is only one instance of the script in the virtual server. If multiple different versions are installed, you can also use --version to select a specific one to manage.

Stops, starts or restarts the server process for some script#

This command can be used to start, stop or restart the server process behind some script, such as one using Node.js. It takes the usual --domain parameter to identify the server, and either --id followed by the install ID, or --type followed by the script’s short name. The latter option is more convenient, but only works if there is only one instance of the script in the virtual server. If multiple different versions are installed, you can also use --version to select a specific one to manage.

The action to take on the chosen script must be specified with exactly one of the --start , --stop or --restart flags.

Command line help#

virtualmin start-stop-script --domain domain.name
 [--type name --version number] |
 [--id number]
 --start | --stop | --restart

Source: https://www.virtualmin.com/docs/development/api-programs/start-stop-script/

  • virtualmin, domain, install, command line, script, start, stop
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Pre and Post Domain Modification Scripts

Virtualmin allows the use of custom scripts (Shell, Perl, Python and etc.) to automate tasks...

OS Support

Virtualmin runs on top of Webmin. Webmin works on almost every UNIX-like OS, so with some manual...

Professional Features

Virtualmin GPL is already an extremely powerful and flexible virtual hosting control panel, so...

How to Configure Secondary DNS

This guide provides administrators with a quick overview of setting up automatic DNS secondary...

How to Configure Cloudflare DNS

For users looking to integrate Cloudflare with Virtualmin Pro, the process is straightforward and...