K
K
Kwad2022-02-02 04:06:20
laptops
Kwad, 2022-02-02 04:06:20

How to optimize 20 identical services with different configs into 1 universal one?

Good day!

I have:
Server on Ubuntu 20.04 LTS
Soft - unknown_software
20 identical services, the difference is only in the config file specified as the start argument

I want:
Optimize this task, that is, remove 19 services and make a universal one that can do everything the same as regular systemctl (start /stop/status), the main thing is that it would not be applicable to everyone, but the possibility of application for each

Answer the question

In order to leave comments, you need to log in

8 answer(s)
W
Walt Disney, 2016-01-09
@Labunsky

At first I sat at 15.6 "- I didn’t like the weight, everyone has 1.5-3 kg, for infrequent moves from apartment to apartment or from apartment to dacha it was ok, it was convenient to work.
The next one was 14" in general, like the previous one .
But then I switched to 12.6 "lenovo 13" and samsung weighs about kg, it's very convenient to carry, fit into any bags, the only thing I would watch with a resolution of more than 1330.
Now I want to try Surface Book. I think everything will be ok. Laptops smaller than 12.6 "are not suitable for work.
With your budget, it's sad, it's $ 400, despite the fact that good-quality hardware for work, for many years, starts at $ 1000
Look, for 400 an average 12-13 "laptop is like this: a bad screen, no percent, short battery life and a sucky keyboard. Everything mentioned when launching products from JetBrains will regularly strain you, something more, something less, but it will definitely be. Accordingly pay attention to these qualities, maybe something has appeared.But still, because of the money, there are more chances to find a suitable option in the region of 14-15 inches.

F
FoxInSox, 2016-01-07
@FoxInSox

- 11 inches perversion. Minimum 13, better 15. There is no difference between 13 and 15 in a backpack.
- laptops in the price range from 500/700 to 1000 dollars are all the same: in a year the paint will start to fall off, it will start to make noise, creak, and so on. The reliability is the same: death within 3 years with daily use.
- touch screens - a toy, because It is not convenient to hold hands on weight and fingerprints remain.
- For development, you need an SSD, 16GB of RAM and a more powerful processor, the rest is fucked up.

O
OnYourLips, 2016-01-07
@OnYourLips

17" is my favorite size.
If it's larger, then there are difficulties with mobility. In addition, there are few models with a larger screen.
Anything less than 15 can only be used normally with external monitors.

M
m1t9.(;⌣̀_⌣́), 2016-01-07
@hlebushek

I sat on a 15.6 inch laptop for a very long time, and when I got my hands on a 13, it became very uncomfortable. Of course, you can get used to it, but I would still choose at least 13-15. So I was happy to go back to 15 inches. You can also find a thin one, and so that the body is not made of aluminum, but of plastic, then it will be light. And you don’t need a sensor for programming, it’s purely for tablets, play toys, look through books, surf the Internet.

D
Denis Sh, 2016-01-07
@Deq56

One of the main parameters is a comfortable keyboard, then resolution and diagonal. A small laptop is inconvenient not with a screen, but with a keyboard, you don’t hit the keys.

U
uvelichitel, 2016-01-07
@uvelichitel

I take the second used macbook, five years. 15 pro. I have never seen a better typewriter. With java, it's really not very good, although there is enough foolishness. JVM on apple is a misunderstanding, Idea slows down, but I don't need it.

P
paran0id, 2022-02-02
@Kwad

systemctl start [email protected]
see template

S
Saboteur, 2022-02-02
@saboteur_kiev

The task is generally incomprehensible
You do not know how to run the program 20 times with different arguments, or what?
Write a start/stop script that runs the software you need 20 times, as is usually done

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question