net-snmp/dist/snmpd.service

19 lines
469 B
SYSTEMD
Raw Normal View History

2022-06-27 15:01:12 +08:00
#
# SNMP agent service file for systemd
#
#
# The service should be enabled, i.e. snmpd should start during machine boot.
# Socket activation shall not be used. See README.systemd for details.
[Unit]
Description=Simple Network Management Protocol (SNMP) daemon.
After=syslog.target network.target
[Service]
# Type=notify is also supported. It should be set when snmpd.socket is not used.
Type=simple
ExecStart=/usr/sbin/snmpd -f
[Install]
WantedBy=multi-user.target