On 11/08/2012 01:13 PM, Curtis Shimamoto wrote:
On 11/08/12 at 11:42am, David Rosenstrauch wrote:
Just curious (if you know):  what should the service file look like
for it to work properly when you issue the systemctl enable command?
Should it be:  Alias=getty.target.wants/qingy@%I.service ?

Thanks,

DR

Honestly, I am not sure if that is proper, but I see no reason why it
should not work.  Give it a whirl and see what happens.  The worst that
could come of it is that you change it back.  I think in this case, %i
would also work, as the only difference between %I and %i is being
escaped and not being escaped (respectively).  There appears to be
nothing in the systemd.unit man page to indicate that these special
substitutions are not universal throughout the unit file.

Hope it works!

Looks like it doesn't:

[darose@daroselin ~]$ sudo systemctl enable qingy@tty6
ln -s '/usr/lib/systemd/system/qingy@.service' '/etc/systemd/system/getty.target.wants/qingy@%I.service'

:-)


Sucks that this doesn't work as advertised. It should be a no-brainer to be able to set up qingy on tty6.

Thanks,

DR

Reply via email to