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
4d67cbe3
Commit
4d67cbe3
authored
9 years ago
by
Veniamin Gvozdikov
Browse files
Options
Downloads
Patches
Plain Diff
Added set up path for tarantool datadir
parent
71f59660
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
extra/dist/CMakeLists.txt
+6
-0
6 additions, 0 deletions
extra/dist/CMakeLists.txt
extra/dist/default/tarantool.in
+3
-3
3 additions, 3 deletions
extra/dist/default/tarantool.in
with
9 additions
and
3 deletions
extra/dist/CMakeLists.txt
+
6
−
0
View file @
4d67cbe3
# Scripts for a tarantoolctl packaging
set
(
SYSV_INITD_PATH
${
CMAKE_INSTALL_LIBDIR
}
/tarantool/tarantool.init
)
# Default path to data in default/tarantool
if
(
NOT TARANTOOL_DATADIR
)
set
(
TARANTOOL_DATADIR
"/var/lib/tarantool"
)
endif
()
message
(
STATUS
"TARANTOOL_DATADIR:
${
TARANTOOL_DATADIR
}
"
)
configure_file
(
"tarantool.service.in"
"tarantool.service"
)
configure_file
(
default/tarantool.in default/tarantool
)
...
...
This diff is collapsed.
Click to expand it.
extra/dist/default/tarantool.in
+
3
−
3
View file @
4d67cbe3
-- Options for Tarantool
default_cfg
=
{
pid_file
=
"/var/run/tarantool"
,
-- will become pid_file .. instance .. '.pid'
wal_dir
=
"
/var/lib/tarantool
"
,
-- will become wal_dir/instance/
snap_dir
=
"
/var/lib/tarantool
"
,
-- snap_dir/instance/
sophia_dir
=
"
/var/lib/tarantool
"
,
-- will become sophia_dir/sophia/instance/
wal_dir
=
"
@TARANTOOL_DATADIR@
"
,
-- will become wal_dir/instance/
snap_dir
=
"
@TARANTOOL_DATADIR@
"
,
-- snap_dir/instance/
sophia_dir
=
"
@TARANTOOL_DATADIR@
"
,
-- will become sophia_dir/sophia/instance/
logger
=
"/var/log/tarantool"
,
-- logger/instance .. '.log'
username
=
"tarantool"
,
}
...
...
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