d582bf978f
Signed-off-by: David Johnson <dave-git@centerclick.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
16 lines
386 B
Desktop File
16 lines
386 B
Desktop File
[Unit]
|
|
Description=SNMP Daemon
|
|
After=network.target
|
|
ConditionPathExists=/etc/snmp/snmpd.conf
|
|
|
|
[Service]
|
|
Type=simple
|
|
Environment=MIBDIRS=/usr/share/snmp/mibs
|
|
Environment=SNMPDOPTS='-Lsd -Lf /dev/null -p /var/run/snmpd.pid -u snmp -g snmp 127.0.0.1'
|
|
EnvironmentFile=-/etc/default/snmpd
|
|
PassEnvironment=MIBDIRS
|
|
ExecStart=/usr/sbin/snmpd -f $SNMPDOPTS
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|