Zum Hauptinhalt springen
Version: CloudNet v3.4

Service Befehl

The service command is used to manage all local services that are provided.

Permission: cloudnet.command.service
Aliase: paste, haste

Information

Dieser Befehl kann als Befehl in der Node-Konsole oder als Ingame-Befehl mit dem Präfix /cloud verwendet werden

Dies ist eine einfache Ăśbersicht ĂĽber den service Befehl.
Weitere Informationen finden sich weiter unten auf der Seite.

COMMAND:  - service list | id=<text> | task=<text> | group=<text> | --names
COMMAND: - service <name>
COMMAND: - service <name> info
COMMAND: - service <name> start
COMMAND: - service <name> stop | --force
COMMAND: - service <name> delete
COMMAND: - service <name> includeInclusions
COMMAND: - service <name> includeTemplates
COMMAND: - service <name> deployResources
COMMAND: - service <name> restart
COMMAND: - service <name> command <command> ...
COMMAND: - service <name> add deployment <storage:prefix/name> [excludedFiles separated by ";"]
COMMAND: - service <name> add template <storage:prefix/name>
COMMAND: - service <name> add inclusion <url> <targetPath>

service list

Aufruf: service list | id=<text> | task=<text> | group=<text> | --names

Dieser Befehl listet alle Services auf, die in der Cloud registriert sind. You can filter the output with the following arguments, each separated with a |:

  • id=<text> - um die Services nach ihrer ID zu filtern
  • task=<text> - die Services nach ihrem Task zu filtern
  • group=<text> - to filter the services by a group
  • --names - um nur die Namen der Services auszugeben, statt mehr Informationen ĂĽber jeden Service zu erhalten

service

Aufruf: service <name>

This command prints basic information about the service with the given name.

service info

Aufruf: service <name> info

This command prints detailed information about the service with the given name.

service start

Usage: service <name> start

This command starts the service with the given name, if it exists but is stopped ("prepared").

service stop

Usage: service <name> stop | --force

This command (gracefully) shutdowns the service with the given name. You can add the | --force argument to force the shutdown.

service delete

Usage: service <name> delete

This command deletes the service with the given name.

service includeInclusions

Usage: service <name> includeInclusions

This command downloads all inclusions that have not yet been downloaded.
It is useful if new inclusions are added or updated, and they need to be updated for the service

service includeTemplates

Usage: service <name> includeTemplates

This command downloads all templates that have not yet been downloaded.
It is useful if new templates are added or updated, and they need to be updated for the service

service deployResources

Usage: service <name> deployResources

This command deploys the files of the service with the given name to the added deployments.

service restart

Usage: service <name> restart

This command restarts the service with the given name, without deleting the files. :::tip You can use that instead of the /reload command, which is not supported by the cloud! :::

service command

Aufruf: service <name> command <command> ...

This command executes the provided command on the service with the given name.

service add deployment

Usage: service <name> add deployment <storage:prefix/name> [excludedFiles separated by ";"]

This command adds a new deployment to the service with the given name.

service add template

Usage: service <name> add template <storage:prefix/name>

This command adds a new template to the service with the given name.

service add inclusion

Usage: service <name> add inclusion <url> <targetPath>

This command adds a new inclusion to the service with the given name.