We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
there seems to be no snmpd/run script..
I made this..
#!/bin/sh [ ! -e /etc/snmp/snmpd.conf ] && exit 1 exec /usr/sbin/snmpd -f -p /run/snmpd.pid -LSwd -Lf /dev/null My 0.02
#!/bin/sh [ ! -e /etc/snmp/snmpd.conf ] && exit 1 exec /usr/sbin/snmpd -f -p /run/snmpd.pid -LSwd -Lf /dev/null
disclaimer I've used this snmpd string for myself, check the args for yourself please..
The text was updated successfully, but these errors were encountered:
I don't use net-snmp, but you can make a PR adding the run script. Maybe something like this:
net-snmp
srcpkgs/net-snmp/files/snmpd/run ----------------------------------- #!/bin/sh [ -r conf ] && . ./conf [ ! -e /etc/snmp/snmpd.conf ] && exit 1 exec /usr/sbin/snmpd ${OPTS:=-f -LSwd -Lf} -p /run/snmpd.pid
Put in there what you think are a sane default args. User can always change the args to their liking inside /etc/sv/snmpd/conf
/etc/sv/snmpd/conf
Sorry, something went wrong.
@bcookatpcsd are you interested in making a PR for this package? @folliehiyuki's suggestion looks good.
@ericonr I took the liberty to try and make a PR myself. Let me know if it looks ok to you or if there's anything I should change.
No branches or pull requests
there seems to be no snmpd/run script..
I made this..
#!/bin/sh [ ! -e /etc/snmp/snmpd.conf ] && exit 1 exec /usr/sbin/snmpd -f -p /run/snmpd.pid -LSwd -Lf /dev/null
My 0.02
disclaimer
I've used this snmpd string for myself, check the args for yourself please..
The text was updated successfully, but these errors were encountered: