19 lines
482 B
Desktop File
19 lines
482 B
Desktop File
[Unit]
|
|
Description=GoVPP SNMP AgentX Daemon
|
|
After=network.target vpp.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
EnvironmentFile=-/etc/default/govpp-snmp-agentx
|
|
ExecStartPre=-+/usr/bin/chmod 770 /var/agentx /var/agentx/master
|
|
ExecStartPre=-+/usr/bin/chown Debian-snmp:vpp /var/agentx /var/agentx/master
|
|
ExecStart=/usr/sbin/govpp-snmp-agentx $GOVPP_SNMP_AGENTX_FLAGS
|
|
User=Debian-snmp
|
|
Group=vpp
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=5s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|