Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Curve
Commits
39b76c3c
Commit
39b76c3c
authored
3 years ago
by
lixiaocui1
Committed by
YunhuiChen
3 years ago
Browse files
Options
Download
Email Patches
Plain Diff
ansible: add time to etcd log file
parent
640fbb20
release1.2
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
curve-ansible/roles/restart_service/tasks/include/restart_etcd.yml
+1
-1
...ible/roles/restart_service/tasks/include/restart_etcd.yml
curve-ansible/roles/start_service/tasks/include/start_etcd.yml
+1
-1
...-ansible/roles/start_service/tasks/include/start_etcd.yml
with
2 additions
and
2 deletions
+2
-2
curve-ansible/roles/restart_service/tasks/include/restart_etcd.yml
+
1
-
1
View file @
39b76c3c
...
...
@@ -22,5 +22,5 @@
service_port
:
"
{{
etcd_listen_client_port
}}"
process_name
:
etcd
start_cmd
:
>
nohup {{ install_etcd_dir }}/etcd --config-file {{ etcd_config_path }} > etcd-console.log 2>&1 &
nohup {{ install_etcd_dir }}/etcd --config-file {{ etcd_config_path }} > etcd-console
-$(date -d "today" +"%Y%m%d_%H%M%S")
.log 2>&1 &
include_tasks
:
common_tasks/restart_service.yml
This diff is collapsed.
Click to expand it.
curve-ansible/roles/start_service/tasks/include/start_etcd.yml
+
1
-
1
View file @
39b76c3c
...
...
@@ -21,5 +21,5 @@
daemon_script
:
./etcd-daemon.sh
service_port
:
"
{{
etcd_listen_client_port
}}"
start_cmd
:
>
nohup {{ install_etcd_dir }}/etcd --config-file {{ etcd_config_path }} > etcd-console.log 2>&1 &
nohup {{ install_etcd_dir }}/etcd --config-file {{ etcd_config_path }} > etcd-console
-$(date -d "today" +"%Y%m%d_%H%M%S")
.log 2>&1 &
include_tasks
:
common_tasks/start_service.yml
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help