How to specify the service template name when using socket activation with Accept=yes
1
vote
1
answer
658
views
I have multiple
.socket
files, they listen with Accept=yes
. They should all use the same service template to process connections. By default systemd looks for a service template with the same name as the socket, but as I have multiple socket files I would like to all point them to the same service template.
There is a setting Service=
but that only accepts non-template services and requires Accept=no
. Is there any way to specify the service template to invoke from the .socket
unit?
Asked by JanKanis
(1421 rep)
Feb 12, 2020, 12:10 PM
Last activity: Feb 12, 2020, 03:54 PM
Last activity: Feb 12, 2020, 03:54 PM