Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Makhonin Vitaliy committed Nov 18, 2023
1 parent 1f64d30 commit 9472197
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions roles/configure_ubuntu/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@
tags:
- config.fail2ban

- name: Config sysctl
import_tasks: sysctl.yaml
tags:
- config.sysctl
#- name: Config sysctl
# import_tasks: sysctl.yaml
# tags:
# - config.sysctl

- name: Create ansible user
import_tasks: ansible_user.yaml
Expand Down
8 changes: 4 additions & 4 deletions roles/solana_validator_bootstrap/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
tags:
- validator.manage.config

#- name: Create sys-tuner service
# import_tasks: sys-tuner.service.yaml
# tags:
# - validator.service.sys-tuner
- name: Create sys-tuner service
import_tasks: sys-tuner.service.yaml
tags:
- validator.service.sys-tuner

- name: Setup logrotate
import_tasks: logrotate.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ After=network.target syslog.target
StartLimitIntervalSec=0

[Service]
Type=simple
Restart=always
RestartSec=1
ExecStart={{ env_path }}/solana-sys-tuner --user {{ solana_user }}
Type=oneshot
{% for param, value in sysctl_params.items() -%}
ExecStart=/usr/sbin/sysctl -w {{ param }}={{value}}
{% endfor %}

[Install]
WantedBy=multi-user.target

0 comments on commit 9472197

Please sign in to comment.