diff options
Diffstat (limited to 'gitnotipy-update.py')
-rwxr-xr-x | gitnotipy-update.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gitnotipy-update.py b/gitnotipy-update.py new file mode 100755 index 0000000..25f2d04 --- /dev/null +++ b/gitnotipy-update.py @@ -0,0 +1,11 @@ +#!/usr/bin/env python2 + +# Change this as needed. +filename = '/home/snakebite/projects/gitnotipy/foo.socket' + +import socket, sys + +s = socket.socket(socket.AF_UNIX, socket.SOCK_DGRAM) +s.connect(filename) +s.send(sys.argv[1]) +s.close() |