Skip to content
Snippets Groups Projects
Commit a68b5db5 authored by Victor Popov's avatar Victor Popov Committed by Roman Tsisyk
Browse files

Fix inability to operate with instances containing dash in its names.

Using %I is incorrect, because it is a result of unescaping, but
escaping never occured.
Even if we would use escaping inside tarantoolctl, it would be
inconvenient to use systemctl to operate instances.
parent eed22253
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ After=network.target
Documentation=man:tarantool(1)
# Instance file
ConditionPathExists=@TARANTOOL_INSTANCEDIR@/%I.lua
ConditionPathExists=@TARANTOOL_INSTANCEDIR@/%i.lua
[Service]
Type=notify
......@@ -47,10 +47,10 @@ OOMScoreAdjust=-1000
# Increase fd limit for Vinyl
LimitNOFILE=65535
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl start %I
ExecStop=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl stop %I
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl start %i
ExecStop=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl stop %i
## NYI: https://github.com/tarantool/tarantool/issues/1229
#ExecReload=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl reload %I
#ExecReload=@CMAKE_INSTALL_FULL_BINDIR@/tarantoolctl reload %i
# Systemd waits until all xlogs are recovered
TimeoutStartSec=86400s
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment