[xubuntu-users] Howto or Tutorial for systemd to add a network service
slitt at troubleshooters.com
Sat Mar 26 19:38:21 UTC 2016
On Sat, 26 Mar 2016 17:15:08 +0000
Chris Green <cl at isbd.net> 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?
March 2016 featured book: Quit Joblessness: Start Your Own Business
More information about the xubuntu-users