Re: services and systemd in F16

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-- 
test mailing list
test@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: 
https://admin.fedoraproject.org/mailman/listinfo/test



[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux