Created
December 21, 2015 22:47
-
-
Save mosquito/5004e9d20b002165df19 to your computer and use it in GitHub Desktop.
Systemd ping daemon
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=Pingd broadcast service | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| Restart=always | |
| RestartSec=5 | |
| WorkingDirectory=/tmp | |
| StartLimitInterval=0 | |
| StartLimitBurst=99999999999999 | |
| ExecStart=/bin/ping -q -s 1024 -t 1 -c 65534 -i 5 -b 255.255.255.255 | |
| User=root | |
| Group=root | |
| [Install] | |
| WantedBy=multi-user.target |
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=Pingd service %I | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| Restart=always | |
| RestartSec=5 | |
| WorkingDirectory=/tmp | |
| StartLimitInterval=0 | |
| StartLimitBurst=99999999999999 | |
| ExecStart=/bin/ping -q -s 1024 -t 4 -c 65534 %i | |
| User=root | |
| Group=root | |
| [Install] | |
| WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment