1. # This configuration implements a TCPMUX server at localhost. The server 2. # runs two services: `scp-to' and `sftp-savane', both of which trigger 3. # invocation of /usr/sbin/in.wydawca binary. 4. # 5. # This is the way distribution uploads are implemented on Puszcza. 6. 7. component tcpmux { 8. socket "inet://127.0.0.1:1"; 9. service tcpmux; 10. flags internal; 11. } 12. 13. component scp-to { 14. service scp-to; 15. flags (tcpmuxplus, sockenv); 16. tcpmux-master tcpmux; 17. command "/usr/sbin/in.wydawca"; 18. } 19. 20. component sftp-savane { 21. service sftp-savane; 22. flags tcpmuxplus; 23. tcpmux-master tcpmux; 24. command "/usr/sbin/in.wydawca"; 25. }