On 07/29/2011 09:44 AM, Stefan Seyfried wrote:
So what seems like a good idea is to use "killall -SIGHUP dconf-service" or "killall -SIGUSR1 dconf-service" and patch dconf-service to do a graceful restart when these signals are received, right?
No. If I have a script "dconf-service" which has nothing to do with your dconf-service, it will get killed.
You need to make sure to only kill the dconf-services that belong to your package. Which is very hard.
Hrm, maybe creating a "dconf-package" cgroup, put all dconf-service instances in that group on process start and send a signal to this group's members instead of using killall. Sounds a little bit overengineered, though :-) -- Best Regards / S pozdravom, Pavol RUSNAK SUSE LINUX, s.r.o openSUSE Boosters Team Lihovarska 1060/12 PGP 0xA6917144 19000 Praha 9 prusnak[at]opensuse.org Czech Republic -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org