Re: learning systemd: disable a "service" + create one to replace it

2013-04-29 Thread Reindl Harald


Am 29.04.2013 11:22, schrieb Mihamina Rakotomandimby:
> Hi all,
> 
> Configuration: F17 LXDE spin.
> 
> I would like to
> 1°) disable LXDM launch
> 2°) launch a custom script i the place of it
> 
> The custom script is just a one-liner:
>   /usr/bin/X :1 -query my.session.server
> 
> # chkconfig --list:
> livesys0:off1:off2:off3:on4:on5:on6:off
> livesys-late   0:off1:off2:off3:on4:on5:on6:off
> netconsole 0:off1:off2:off3:off4:off5:off6:off
> network0:off1:off2:off3:off4:off5:off6:off
> spice-vdagentd 0:off1:off2:off3:off4:off5:on6:off
> 
> => I see no mention of "lxdm".
> 
> I also tried:
> # find / -type f -name '*.service'
> 
> => No mention of "lxdm"
> 
> 1°) Where to find it, in order to disable it?

in F17 you have "prefdm.service"

/usr/lib/systemd/system/prefdm.service
/etc/X11/prefdm

the "kdm.service" and lookalikes are introduced with F18



signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


learning systemd: disable a "service" + create one to replace it

2013-04-29 Thread Mihamina Rakotomandimby

Hi all,

Configuration: F17 LXDE spin.

I would like to
1°) disable LXDM launch
2°) launch a custom script i the place of it

The custom script is just a one-liner:
  /usr/bin/X :1 -query my.session.server

# chkconfig --list:
livesys 0:off   1:off   2:off   3:on4:on5:on6:off
livesys-late0:off   1:off   2:off   3:on4:on5:on6:off
netconsole  0:off   1:off   2:off   3:off   4:off   5:off   6:off
network 0:off   1:off   2:off   3:off   4:off   5:off   6:off
spice-vdagentd  0:off   1:off   2:off   3:off   4:off   5:on6:off

=> I see no mention of "lxdm".

I also tried:
# find / -type f -name '*.service'

=> No mention of "lxdm".


1°) Where to find it, in order to disable it?
2°) Would you know a ressource if I want to make my custom script to be 
integrated to the systemd stuff, where to find how? 
https://www.google.com/search?q=custom+systemd+script is a bit messy...


--
RMA.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org