1
0
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:
Peter Bourgon
2015-09-25 14:40:31 +02:00
parent 4e6968fe8f
commit 18a82bd528
7 changed files with 5 additions and 20 deletions

15
example/bar Executable file
View File

@@ -0,0 +1,15 @@
#!/bin/sh
handle() {
echo "got signal"
exit
}
trap handle SIGINT
while true
do
echo bar: `date`
sleep 1
done