services and systemd in F16

Matej Cepl mcepl at redhat.com
Wed Aug 31 20:51:53 UTC 2011


Dne 31.8.2011 18:39, Adam Williamson napsal(a):
> systemd is already smart enough, but the services themselves have to be
> written with support, and sometimes the underlying daemons need slight
> tweaking to support socket activation.

Just a bit of self-promotion. Bitlbee in Fedora has socket activation 
(formerly inetd-style activation) working. So (in case you had bitlbee 
running as daemon):

systemctl stop bitlbee.service
systemctl disable bitlbee.service

and then you can activate socket service

systemctl enable bitlbee.socket
systemctl start bitlbee.socket

You can now try

pgrep -f -l bitlbee

to see that (despite confusing name of the second systemctl command) 
bitlbee is in fact not started yet.

Yet, when you run your IRC client against localhost:6667 you get 
connection and bitlbee running.

Best,

Matěj


More information about the test mailing list