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