Q: Daemons, how to kill & restart remotely
From: James Lehman (james[remove)
Date: 09/19/04
- Next message: Basile Starynkevitch [news]: "Re: Q: Daemons, how to kill & restart remotely"
- Previous message: Robert Redelmeier: "Re: Spare CPU as "Graphics card""
- Next in thread: Basile Starynkevitch [news]: "Re: Q: Daemons, how to kill & restart remotely"
- Reply: Basile Starynkevitch [news]: "Re: Q: Daemons, how to kill & restart remotely"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: Q: Daemons, how to kill & restart remotely"
- Reply: James Lehman: "Re: Daemons, how to kill & restart remotely"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 19 Sep 2004 13:03:35 -0400
Hello everyone.
Let's say I have a daemon process that provides a TCP/IP service.
I can use this service to do many things on the remote machine,
including uploading a new set of freshly built executables
that make a whole working solution.
How do I upload a new build of the daemon process itself?
Currently, I use the daemon, we'll call it xxxd, to upload a
file called xxxd_. then I shell into the system, killall xxxd
and cp xxxd_ over xxxd and restart the daemon.
Is there a neat way to cause xxxd to kill itself, perform
the copy and start again?
Thanks!
Have a great day! James. :o)
- Next message: Basile Starynkevitch [news]: "Re: Q: Daemons, how to kill & restart remotely"
- Previous message: Robert Redelmeier: "Re: Spare CPU as "Graphics card""
- Next in thread: Basile Starynkevitch [news]: "Re: Q: Daemons, how to kill & restart remotely"
- Reply: Basile Starynkevitch [news]: "Re: Q: Daemons, how to kill & restart remotely"
- Reply: Jens.Toerring_at_physik.fu-berlin.de: "Re: Q: Daemons, how to kill & restart remotely"
- Reply: James Lehman: "Re: Daemons, how to kill & restart remotely"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|