[systemd-devel] Log out, Reboot and shutdown

Colin Guthrie gmane at colin.guthr.ie
Wed Nov 7 12:48:51 PST 2012


'Twas brillig, and Sweetth Devil at 07/11/12 14:46 did gyre and gimble:
> The reason to use those are because I use a script looping a command and
> I need to kill the script then the command in that order. Also because
> those script arrow actually recording from the webcam and the desktop if
> they aren't stop properly the file's index are corrupted.
> 
> Which is happening at the moment.


This sounds very fragile. I would strongly recommend you adjust your
command to catch it's kill signal, and then kill the looping script
before terminating itself if you want to ensure the order.

Col





-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/



More information about the systemd-devel mailing list