systemctl question

Mike Wright mike.wright at mailinator.com
Fri Apr 27 20:35:14 UTC 2012


On 04/27/2012 01:11 PM, Richard Shaw wrote:
> On Fri, Apr 27, 2012 at 3:05 PM, Mike Wright<mike.wright at mailinator.com>  wrote:
>> Hi all,
>>
>> While trying to get vncserver working I found this within
>>
>>     /lib/systemd/system/vncserver at .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@<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.

>
> Richard
>
> http://superuser.com/questions/393423/the-symbol-and-systemctl-and-vsftpd



More information about the users mailing list