Multiple services for same package?
by raikouuy from LinuxQuestions.org on (#57STX)
Hello everyone, I have been insatlling and using some linux distros for basic things, like Openvpn, tomcat, ahsay backup, awscli, etc.
Recently I was insatlling a postgresql package for the dev team and when i went to check the service (service xxxx status) I found out there are 2 of them postgresql and postgresql@12-main.
Then went to another server and checked openvpn and got the same thing openvpn and openvpn@server.
Both softwares were installed using apt (postgresql required the adding the repo), debian 10.5.
My question is, are these services related to one another or not? My fair guess was that one of them depends on the other, or that one of them was by default and the other was added when the apt install was executed.
If anyone could guide me or has a short answer or maybe a link to some documentation, that would be great.
Thank you very much


Recently I was insatlling a postgresql package for the dev team and when i went to check the service (service xxxx status) I found out there are 2 of them postgresql and postgresql@12-main.
Then went to another server and checked openvpn and got the same thing openvpn and openvpn@server.
Both softwares were installed using apt (postgresql required the adding the repo), debian 10.5.
My question is, are these services related to one another or not? My fair guess was that one of them depends on the other, or that one of them was by default and the other was added when the apt install was executed.
If anyone could guide me or has a short answer or maybe a link to some documentation, that would be great.
Thank you very much