Created
March 1, 2017 15:26
-
-
Save strato190/1d8081301740613f6e9dcd06273332ff to your computer and use it in GitHub Desktop.
Systemd unit file for running snmpsim at background
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [Unit] | |
| Description=Snmp generator | |
| After=network.target | |
| [Service] | |
| UMask=0000 | |
| Restart=always | |
| KillSignal=SIGQUIT | |
| User=snmpsim | |
| ExecStart=/bin/sh -c "snmpsimd --data-dir=/opt/data --agent-udpv4-endpoint=0.0.0.0:1024" | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment