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
77fc6bfc
Commit
77fc6bfc
authored
8 years ago
by
ocelot-inc
Browse files
Options
Downloads
Patches
Plain Diff
Fixes gh-1492 Document that tarantoolctl works with ~/.config/tarantool/tarantool
parent
a1fb1591
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/sphinx/book/administration.rst
+10
-7
10 additions, 7 deletions
doc/sphinx/book/administration.rst
with
10 additions
and
7 deletions
doc/sphinx/book/administration.rst
+
10
−
7
View file @
77fc6bfc
...
...
@@ -257,12 +257,15 @@ and checking status.
configuring for tarantoolctl
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
"The :codenormal:`tarantool` script will look for a configuration file
in the current directory (:codenormal:`$PWD/.tarantoolctl`).
If that fails, it looks in the current user's home directory (:codenormal:`$HOME/.config/tarantool/tarantool`).
If that fails, it looks in the SYSCONFIGDIR directory (usually :codenormal:`/usr/local/etc/default/tarantool`
but it may be different on some platforms)."
Most
of the settings are similar to the settings used by ``box.cfg{...};``
however, tarantoolctl adjusts some of them by adding an application name.
A copy of :file:`
/etc/sysconfig
/tarantool`, with defaults for all settings,
A copy of :file:`
usr/local/etc/default
/tarantool`, with defaults for all settings,
would look like this:
.. code-block:: lua
...
...
@@ -397,8 +400,8 @@ Create a directory named /tarantool_test:
$ sudo mkdir /tarantool_test
Edit /
etc/sysconfig
/tarantool. It might be necessary to
say :codenormal:`sudo mkdir /
etc/sysconfig
` first. Let the new file contents be:
Edit /
usr/local/etc/default
/tarantool. It might be necessary to
say :codenormal:`sudo mkdir /
usr/local/etc/default
` first. Let the new file contents be:
.. code-block:: lua
...
...
@@ -469,7 +472,7 @@ Stop. The only clean way to stop my_app is with tarantoolctl, thus:
$ sudo tarantoolctl stop my_app
Clean up. Restore the original contents of :file:`/
etc/sysconfig
/tarantool`, and ...
Clean up. Restore the original contents of :file:`/
usr/local/etc/default
/tarantool`, and ...
.. code-block:: console
...
...
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