dist/snmpd.service
raw| 1 | # |
| 2 | # SNMP agent service file for systemd |
| 3 | # |
| 4 | # |
| 5 | # The service should be enabled, i.e. snmpd should start during machine boot. |
| 6 | # Socket activation shall not be used. See README.systemd for details. |
| 7 | |
| 8 | [Unit] |
| 9 | Description=Simple Network Management Protocol (SNMP) daemon. |
| 10 | After=network.target |
| 11 | |
| 12 | [Service] |
| 13 | # Type=notify is also supported. It should be set when snmpd.socket is not used. |
| 14 | Type=simple |
| 15 | ExecStart=/usr/sbin/snmpd -f |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=multi-user.target |