runsvinit/example/bar

16 lines
117 B
Plaintext
Raw Normal View History

2015-09-25 10:30:24 +00:00
#!/bin/sh
handle() {
echo "got signal"
exit
}
trap handle SIGINT
while true
do
echo bar: `date`
sleep 1
done