From: FollieHiyuki <FollieHiyuki@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: net-snmp does not bring an /etc/sv/snmpd entry
Date: Tue, 16 Mar 2021 17:10:32 +0100 [thread overview]
Message-ID: <20210316161032.ScWi_Fs6ExxjYLwVWx7ES-ibyUhQeXRqTex-vS3avIM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-29508@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
New comment by FollieHiyuki on void-packages repository
https://github.com/void-linux/void-packages/issues/29508#issuecomment-800397776
Comment:
I don't use `net-snmp`, but you can make a PR adding the run script. Maybe something like this:
```
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`
next prev parent reply other threads:[~2021-03-16 16:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 14:19 [ISSUE] " bcookatpcsd
2021-03-16 16:10 ` FollieHiyuki [this message]
2021-04-27 23:44 ` ericonr
2021-10-06 23:11 ` heittpr
2021-10-08 13:24 ` [ISSUE] [CLOSED] " ericonr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210316161032.ScWi_Fs6ExxjYLwVWx7ES-ibyUhQeXRqTex-vS3avIM@z \
--to=folliehiyuki@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).