summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2013-09-25 12:29:48 +0200
committerAzul <azul@riseup.net>2013-09-25 12:29:48 +0200
commit377195ce83c22c3a3771565cf15f6a06f1440b06 (patch)
treea4a66c35162e4195c6c62defda2c306d1d56c4ce /bin
parent83c323fbe10249a54d6383189fd9279d82c7d010 (diff)
log to file or syslog instead of STDOUT
Diffstat (limited to 'bin')
-rwxr-xr-xbin/tapicero1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/tapicero b/bin/tapicero
index d3b9d78..9a5a7ee 100755
--- a/bin/tapicero
+++ b/bin/tapicero
@@ -26,6 +26,7 @@ end
# Graceful Ctrl-C
Signal.trap("SIGINT") do
+ Tapicero.logger.warn "Received SIGINT - stopping tapicero"
puts "\nQuit - leaving tapicero"
exit
end