Skip to content

Commit

Permalink
add env for start vttablet
Browse files Browse the repository at this point in the history
Signed-off-by: fupeng29 <[email protected]>
  • Loading branch information
fupeng29 committed Oct 31, 2023
1 parent e01ffa6 commit ce31619
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/stardb/vttablet.service
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ After=network.target
[Service]
User=root
Type=simple
Environment=VT_MYSQL_ROOT=/export/servers/mysql
Environment=VTDATAROOT=/export/data/mysql
EnvironmentFile=/vt/config/vttablet/podenv
EnvironmentFile=/vt/config/vttablet/keyspaceenv
ExecStart=/vt/config/vttablet_start_script.sh
Restart=always
RestartSec=2s
Expand Down

0 comments on commit ce31619

Please sign in to comment.