On 04/27/2012 01:11 PM, Richard Shaw wrote:
On Fri, Apr 27, 2012 at 3:05 PM, Mike
Wright<mike.wright(a)mailinator.com> wrote:
> Hi all,
>
> While trying to get vncserver working I found this within
>
> /lib/systemd/system/vncserver@.service file.
>
> /usr/bin/vncserver %i
>
> What is %i?
>
> Can anybody explain from where this syntax derives?
It appears the "@" allows the service to run multiple instances, which
I can see as a good thing for vnc. In order to start the service I
think you'll need to name your instance, i.e.:
systemctl start vncserver(a)<my_instance_designator>.service
and the "%i" will resolve to your instance designator.
Or that's what this link[1] said :)
However did you find that? I do thank you for that bit of obscurity.
Too bad it's not in the man page.