1
0
mirror of https://github.com/peterbourgon/runsvinit.git synced 2026-04-02 23:37:22 +02:00

First draft

This commit is contained in:
Peter Bourgon
2015-09-25 12:30:24 +02:00
parent 33c958bc9d
commit 4e6968fe8f
8 changed files with 247 additions and 0 deletions

15
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