mirror of
https://github.com/peterbourgon/runsvinit.git
synced 2026-03-05 22:07:22 +01:00
Break out example and rename
This commit is contained in:
15
example/bar
Executable file
15
example/bar
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
handle() {
|
||||
echo "got signal"
|
||||
exit
|
||||
}
|
||||
|
||||
trap handle SIGINT
|
||||
|
||||
while true
|
||||
do
|
||||
echo bar: `date`
|
||||
sleep 1
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user