Skip to content

Wait 5 second before start/restart snmpd#3427

Merged
pavel-shirshov merged 1 commit intosonic-net:201811from
pavel-shirshov:pavelsh/snmpd_restart
Sep 10, 2019
Merged

Wait 5 second before start/restart snmpd#3427
pavel-shirshov merged 1 commit intosonic-net:201811from
pavel-shirshov:pavelsh/snmpd_restart

Conversation

@pavel-shirshov
Copy link
Copy Markdown
Contributor

- What I did
Add a pause before start of snmpd.

- How I did it
Add sleep before the start

- How to verify it
Put changes in to your DUT. After that restart DUT and check that snmpd started.
Then kill snmpd and check that snmpd restarted with delay.

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

@pavel-shirshov pavel-shirshov merged commit df5a03f into sonic-net:201811 Sep 10, 2019
@pavel-shirshov pavel-shirshov deleted the pavelsh/snmpd_restart branch September 10, 2019 14:26
@qiluo-msft
Copy link
Copy Markdown
Collaborator

After this change, supervisorctl stop snmpd cannot kill snmpd process. And if snmpd is manually killed, it will not be autorestart by supervisord

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants