On Sat, 26 Mar 2016 17:15:08 +0000 Chris Green <[email protected]> wrote:
> I want to add an inetd lookalike service to systemd on my xubuntu > 15.10 system. That's a service that will start a server when > something tries to connect to a specific port. I do know that one of systemd's reasons for existence is the ability to postpone running a daemon (httpd for instance) until a listener asks for it, thereby eliminating the need to run inetd itself. Although I've never done it, it looks to me like http://0pointer.de/blog/projects/inetd.html has a simple example for instantiating one sshd process per connection, without the need for inetd, involving both a normal service and a systemd socket. I don't normally use systemd, but the best resource I've found for understanding it is https://www.youtube.com/watch?v=S9YmaNuvw5U . The most productive way to watch that video is to pay exquisite attention to Ben Breard, while ignoring the ramblings of Lennart Poettering. If you can't get systemd to be a superserver, would it be possible to start inetd from systemd, and then just use inetd the same way you've been using it the past 15 years? SteveT Steve Litt March 2016 featured book: Quit Joblessness: Start Your Own Business http://www.troubleshooters.com/startbiz -- xubuntu-users mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/xubuntu-users
