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

Ralf Mardorf ralf.mardorf at rocketmail.com
Sun Mar 27 04:20:13 UTC 2016


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.

"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




More information about the xubuntu-users mailing list