Andy Smith <[email protected]> wrote:
[long, helpful, explanation snipped]
>
> If you only use one instance and never make use of the string expansion
> then it has no effect.
>
> > These are both written by me so they may very likely be misconfigured
> > in some way. :-) They are running on a headless system and I want
> > them to run when the system is [re]booted. They run continuously
> > displaying electrical values on two LCD displays.
>
> Is there a reason you chose to use '@chris' in the service file name
> without knowing what it does?
>
Presumably I copied it from somewhere when I first created the script.
So, if I understand correctly, when I do:-
systemctl --user start helmlcd.service
Then, although it has been started by 'chris' (I'm logged in as
chris), only one copy of the service can be run.
However, when I do:-
systemctl --user start [email protected]
it's quite possible for others to start their own copies of the
service, though presumably they'd have to have a copy of the service
file called [email protected].
How does the second differ from simply having services called
chrisfblcd.service, othernamefblcd.service and so on?
--
Chris Green
ยท