View previous topic :: View next topic |
Author |
Message |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Sun Feb 05, 2017 8:04 pm Post subject: inetd/xinetd functionality with systemd? |
|
|
Hi all,
I'm thinking of dipping my toe into the systemd pool, but I'm a bit hazy as to its capabilities nowadays. One thing I'd like to find out whether or not it can replace [x]inetd in some or most cases. More specifically, xinetd can define a service to connect process stdio to a listening network port, like so
Code: | service myservice
{
disable = no
wait = no
user = myuser
group = mygroup
socket_type = stream
protocol = tcp
port = 22222
server = /path/to/executable
type = UNLISTED
} |
Can systemd do the same thing out of the box? Does systemd allow to add restrictions and limit the number of network connections? Googling suggests it might, but I haven't found a definitive answer. (And since proof of the pudding is in the eating, pointers to examples are appreciated.) |
|
Back to top |
|
 |
Leio Developer


Joined: 27 Feb 2003 Posts: 494 Location: Estonia
|
|
Back to top |
|
 |
Voltago Advocate


Joined: 02 Sep 2003 Posts: 2593 Location: userland
|
Posted: Mon Feb 06, 2017 11:42 am Post subject: |
|
|
Thanks Leio, much appreciated! |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|