Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2014-01-07 Thread Tony Seo
the room means a possibility. sorry, I make you confused because of that word. Thanks 2014/1/7 David Timothy Strauss da...@davidstrauss.net On Mon, Jan 6, 2014 at 8:56 AM, Tony Seo tonys...@gmail.com wrote: But, I suspect that systemd has room not to get ACK from the server process

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2014-01-06 Thread Tony Seo
Strauss da...@davidstrauss.net On Tue, Dec 31, 2013 at 9:20 AM, Tony Seo tonys...@gmail.com wrote: But What I really want to know is why the server process always waited in the accept stage, when I executed client process for the first after system boot. It may hang in accept

[systemd-devel] Is there any way to stop services in cgroup?

2014-01-02 Thread Tony Seo
Hello. I wonder that systemd has a method to stop all services in specific cgroup. Actually, I have looked for a method to stop all services as the same time. I have searched many manual in systemd site. I couldn't find any method to stop all services which I want to stop. I need some advices for

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2013-12-31 Thread Tony Seo
Strauss da...@davidstrauss.net On Mon, Dec 30, 2013 at 7:59 AM, Tony Seo tonys...@gmail.com wrote: That situation continued whether Accept= true or not in service unit. The reason I encouraged you to learn more about socket programming is because this Accept= option isn't some sort of optimization

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2013-12-30 Thread Tony Seo
Hello. Since I had gotten the message from you, I had learned socket program for normal test. After making sample processes like server and client, I tested them in many cases. But, when I tested my sample codes, the common problem was founded that the server process always waited for acceptance

Re: [systemd-devel] How to control socket activation when it run respawn infinitely.

2013-12-22 Thread Tony Seo
spawned when I set the option Accept= false. And Why couldn't the client process connect to socket unit that I made by setting Accept= true. Thanks. 2013/12/19 Tony Seo tonys...@gmail.com Hello. I tried to execute a process by using socket activation. As it is referred at systemd manual, I made

[systemd-devel] (no subject)

2013-12-18 Thread Tony Seo
Hello. I tried to execute a process by using socket activation. As it is referred at systemd manual, I made server and client process by using sd-daemon.h and sd-daemon.c. when I made those processes, I used UDS(Unix Domain Socket) to make communication between server and client. (I also made

[systemd-devel] How to control socket activation when it run respawn infinitely.

2013-12-18 Thread Tony Seo
Hello. I tried to execute a process by using socket activation. As it is referred at systemd manual, I made server and client process by using sd-daemon.h and sd-daemon.c. when I made those processes, I used UDS(Unix Domain Socket) to make communication between server and client. (I also made

Re: [systemd-devel] Is it possible to start other service units by a service unit which was killed?

2013-12-16 Thread Tony Seo
Because I have managed a few processes in systemd, I'd like to just start all processes at the same time when one of the process was failed or dead with kill signal. But I'm curious about fail from your answer, now. What is the fail signal in systemd? I don't know how to make systemd take fail

[systemd-devel] Is it possible to start other service units by a service unit which was killed

2013-12-15 Thread Tony Seo
Hello. I send this mail to know whether systemd have options to solve this problem without socket activation. what I have experienced situation is like: If I have A.service, B.service and C.service, I'd like to set [service] in A.service to make others started when A.service is exited(fail,

[systemd-devel] How to use systemctl preset ?

2013-12-08 Thread Tony Seo
Hello. I have tried to use systemctl preset command. As you know that systemd.org already explained preset in manual page, So I read those things about preset and some example to use systemctl preset. http://www.freedesktop.org/software/systemd/man/systemd.preset.html But, when I try systemctl

[systemd-devel] How to use systemctl preset ?

2013-12-08 Thread Tony Seo
Hello. I have tried to use systemctl preset command. As you know that systemd.org already explained preset in manual page, So I read those things about preset and some example to use systemctl preset. http://www.freedesktop.org/software/systemd/man/systemd.preset.html But, when I try systemctl

[systemd-devel] Re:Re: How to use systemctl preset ?

2013-12-08 Thread Tony Seo
Thanks your answer, Andrey. But what is remove policy, I can't understand what you mean. Would you plz explain more abou it? I already added all units which I'd like to disable in 00-first.preset file. 00-first.preset include: disable connman.service disable wpa_supplicant.service As you

[systemd-devel] How to implement a demon process by socket activation

2013-09-11 Thread Tony Seo
Hi I have been aiming to make a demon process by socket activation in systemd. you know that, it was provided for socket activation in systemd homepage like below . http://0pointer.de/blog/projects/socket-activation.html I refered that guide for making a daemon process started using socket

Re: [systemd-devel] How to delete device units presented in systemd-analyze plot.

2013-08-11 Thread Tony Seo
and boot time if I remove unnecessary device unit. And also, can I ask you detail process of making device unit by systemd? (I alread read the manual page related with device unit) Thanks. Tony Seo. ___ systemd-devel mailing list systemd-devel

[systemd-devel] How to delete device units presented in systemd-analyze plot.

2013-08-07 Thread Tony Seo
Hello. Now, I have studied systemd for optimizing systemd on my board. After edited several units, I would like to delete some device configuration units existing on my picture from systemd-analyze(best-dream-boy.blogspot) I read the manual pages about systemd.device, I tried to delete device

[systemd-devel] [Re] I wanna construct server-client model with systemd option

2013-08-07 Thread Tony Seo
Thank you for your friendly answer. After I recevied your mail, I have aimed to complete to make server-client model. In my view, I didn't still know how to use a service option in service configuration file. The seceario I want to make is like this: *A..service is a server program and

Re: [systemd-devel] How to delete device units presented in systemd-analyze plot.

2013-08-07 Thread Tony Seo
that loading time for device unit affects to boot speed) What do think that loading time for device units doesn't affect to boot speed at machine? Thanks. 2013/8/8 Mantas Mikulėnas graw...@gmail.com On Wed, Aug 7, 2013 at 8:03 PM, Tony Seo tonys...@gmail.com wrote: Hello. Now, I

[systemd-devel] I wanna construct server-client model with systemd option.

2013-07-29 Thread Tony Seo
Hello. I'm Tony. I have aimed to construct server-client model. In order to build that mode, I supposed that there was X_server and A_client. I tried to do several time to operate that model properly, but I have failed to do that operation. In my view, I need to edit my service option which

[systemd-devel] Does systemd have points to spend many times to complete its process?

2013-07-25 Thread Tony Seo
Hello I'm Tony Seo. I've analyzed a plot resulted in systemd-analyze plot. As you can see an attached image file, I got this image from my systemd. While I have analyzed it, I have several questions. 1. what is -.mount ? when I first saw -.mout, I was confused how to configure it. 2. I

[systemd-devel] I want to ask you a fundamental question to you about dependency and starting sequence among units.

2013-07-24 Thread Tony Seo
, this is a critical time to develop the knowledge of systemd. I wait someone who explains those things more definite than before. Thanks Tony Seo ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman

[systemd-devel] I caught a something wrong when I analyzed a systemd on my board by systemd-analyze plot

2013-07-23 Thread Tony Seo
answer about it . Thank you, Tony Seo ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel