| 1 | # |
| 2 | # Two services with equal names but different IDs (which is required) |
| 3 | # and with different protocols set. |
| 4 | # |
| 5 | |
| 6 | service foo |
| 7 | { |
| 8 | id = foo0 |
| 9 | protocol = tcp |
| 10 | server = /sbin/foo |
| 11 | server_args = -t |
| 12 | } |
| 13 | |
| 14 | service foo |
| 15 | { |
| 16 | id = foo1 |
| 17 | protocol = udp |
| 18 | server = /sbin/foo |
| 19 | server_args = -u |
| 20 | } |