# # 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] # added automatically, for details please see # https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort ProtectSystem=full ProtectHostname=true ProtectKernelTunables=true ProtectKernelModules=true ProtectControlGroups=true RestrictRealtime=true # end of automatic additions # Type=notify is also supported. It should be set when snmpd.socket is not used. Type=notify Environment=OPTIONS="-LS0-6d" EnvironmentFile=-/etc/sysconfig/snmpd ExecStart=/usr/sbin/snmpd $OPTIONS -f ExecReload=/bin/kill -HUP $MAINPID [Install] WantedBy=multi-user.target