Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
af17dc71
Commit
af17dc71
authored
9 years ago
by
ocelot-inc
Browse files
Options
Downloads
Patches
Plain Diff
gh-652 (tarantoolctl)
parent
e6e14292
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/sphinx/book/administration.rst
+10
-5
10 additions, 5 deletions
doc/sphinx/book/administration.rst
with
10 additions
and
5 deletions
doc/sphinx/book/administration.rst
+
10
−
5
View file @
af17dc71
...
...
@@ -194,7 +194,7 @@ With ``tarantoolctl`` one can say: "start an instance of the Tarantool server
which runs a single user-written Lua program, allocating disk resources
specifically for that program, via a standardized deployment method."
If Tarantool was downloaded from source, then the script is in
:file:`
~
/extra/dist/tarantoolctl`. If Tarantool was installed with Debian or
:file:`
[tarantool]
/extra/dist/tarantoolctl`. If Tarantool was installed with Debian or
Red Hat installation packages, the script is renamed :program:`tarantoolctl`
and is in :file:`/usr/bin/tarantoolctl`. The script handles such things as:
starting, stopping, rotating logs, logging in to the application's console,
...
...
@@ -205,6 +205,7 @@ and checking status.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The :program:`tarantoolctl` script will read a configuration file named
:file:`~/.config/tarantool/default`, or
:file:`/etc/sysconfig/tarantool`, or :file:`/etc/default/tarantool`. Most
of the settings are similar to the settings used by ``box.cfg{...};``
however, tarantoolctl adjusts some of them by adding an application name.
...
...
@@ -262,7 +263,7 @@ The settings in the above script are:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The command format is ``tarantoolctl operation application-name``, where
operation is one of: start, stop,
status
, logrotate,
enter
. Thus ...
operation is one of: start, stop,
enter
, logrotate,
status, reload
. Thus ...
.. option:: start <app_name>
...
...
@@ -274,15 +275,19 @@ operation is one of: start, stop, status, logrotate, enter. Thus ...
.. option:: enter <app_name>
show <app_name>'s admin console, if it has one
show
s
<app_name>'s admin console, if it has one
.. option:: logrotate <app_name>
rotate <app_name>'s log files (make new, remove old)
rotate
s
<app_name>'s log files (make new, remove old)
.. option:: status <app_name>
check <app_name>'s status
checks <app_name>'s status
.. option:: reload <file_name>
reloads <file_name>.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
typical code snippets for tarantoolctl
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment