W
W
WSGlebKavash2022-02-24 07:06:28
linux
WSGlebKavash, 2022-02-24 07:06:28

Multiple copies of the same service with different configs?

How can I run several identical services (two vsFTPd or three FreeRADIUS) on different configs at the same time?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
R
res2001, 2022-02-24
@res2001

You can make several service configuration files for systemd and pass your own config in each parameter.
Many services already contain a similar "universal" configuration file that allows you to run multiple instances of the service out of the box. For example, openvpn has this, as far as I remember.
In general, deal with configuring services in systemd. It's not that hard there.

D
Dmitry, 2022-02-24
@q2digger

Docker, hang services on different ports of course

P
paran0id, 2022-02-24
@paran0id

https://www.freedesktop.org/software/systemd/man/s...
See template

M
meDveD_spb, 2022-02-25
@meDveD_spb

lxc containers

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question