[xubuntu-users] Howto or Tutorial for systemd to add a network service

Chris Green cl at isbd.net
Sun Mar 27 10:24:43 UTC 2016


On Sun, Mar 27, 2016 at 06:20:13AM +0200, Ralf Mardorf wrote:
> On Sat, 26 Mar 2016 22:14:37 +0000, Chris Green wrote:
> >On Sat, Mar 26, 2016 at 09:43:46PM +0100, Ralf Mardorf wrote:
> >> On Sat, 26 Mar 2016 21:02:50 +0100, Ralf Mardorf wrote:  
> >> >I wanted to say, "take a look at udev".  I don't know when exactly
> >> >udev is useful and when not. Until the OP doesn't describes what
> >> >exactly should happen, it anyway is impossible to provide good
> >> >hints. What kind of port? What kind of server? Should systemd just
> >> >start a script that monitors a port?  
> >> 
> >> "network service" still keeps me guessing. My apologies for
> >> exaggerating:  If somebody connects a sound device to an USB port,
> >> you want to start netjack?
> >> 
> >> I'm aware that this most likely isn't what the OP wants, but the
> >> description still is vague.
> >>   
> >Well the first reply from Petter was exactly what I wanted so I don't
> >think my description could have been *that* bad!  :-)
> 
> https://wiki.ubuntu.com/SystemdForUpstartUsers
> https://wiki.ubuntu.com/SystemdForUpstartUsers#Further_Information
> 
> >I did say that I wanted something in systemd that did what used to be
> >done by inetd, that's fairly specific isn't it?
> 
> That's not the point. Systemd doesn't provide such services on it's
> own. Your mail still wasn't clear. However, now it is clear.
> 
I'm still a little confused as to how it has now become clear.  :-)


> "replacement for inetd with many enhancements"
> http://packages.ubuntu.com/wily/xinetd. However, Ubuntu's systemd is a
> hybrid, so the package contains /etc/init.d/xinetd, there's
> no /lib/systemd/system/xinetd.service yet.
> 
> https://www.freedesktop.org/software/systemd/man/systemd-sysv-generator.html

You say "Systemd doesn't provide such services on it's [sic] own." but
then point me at something that says "replacement for inetd with many
enhancements".  

... and [x]ubuntu's systemd *doesn't* seem to contain xinetd by
default. Both this system and my laptop are running xubuntu 15.10,
both have systemd installed and working (there's loads of
configuration and stuff in /etc/systemd) but neither of them has
xinetd. 


-- 
Chris Green




More information about the xubuntu-users mailing list