summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <>2013-03-02 03:07:34 +0000
committererdgeist <>2013-03-02 03:07:34 +0000
commit93c4554f62a1a8d9170e3acb4d7937691ea0fd58 (patch)
tree52d465f30756f458f5ebd4f156962f9a95a09cbd
parent87dc06e5e85a98eea2d5ebcca81c856ff2a2cbb4 (diff)
Leave the process some time to create the file
-rwxr-xr-xjaildaemon.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/jaildaemon.sh b/jaildaemon.sh
index 0741c23..52098ed 100755
--- a/jaildaemon.sh
+++ b/jaildaemon.sh
@@ -14,6 +14,7 @@ echo -n "Killing (respawnin) task: "
14pgrep -f Schnupsi 14pgrep -f Schnupsi
15 15
16pkill -HUP -f Schnupsi 16pkill -HUP -f Schnupsi
17sleep 1
17 18
18echo "Yielding file, touched by task:" 19echo "Yielding file, touched by task:"
19ls -al /foo 20ls -al /foo
@@ -28,6 +29,7 @@ pgrep -f Schnupsi
28echo "Killing with normal signal:" 29echo "Killing with normal signal:"
29 30
30pkill -f Schnupsi 31pkill -f Schnupsi
32sleep 1
31 33
32echo "Expecting no file here:" 34echo "Expecting no file here:"
33ls -al /foo 35ls -al /foo