add filemon stuff

This commit is contained in:
Lance Edgar 2012-05-07 15:56:45 -07:00
parent 76ed40950a
commit 371bbf7191
7 changed files with 472 additions and 0 deletions

View file

@ -0,0 +1,23 @@
#!/usr/bin/env python
"""
``{{package}}.filemon`` -- Windows File Monitor
"""
from edbob import filemon_server
class FileMonitorService(filemon_server.FileMonitorService):
"""
Implements the {{project}} file monitor Windows service.
"""
_svc_name_ = "{{project}} File Monitor"
_svc_display_name_ = "{{project}} : File Monitoring Service"
appname = '{{package}}'
if __name__ == '__main__':
import win32serviceutil
win32serviceutil.HandleCommandLine(FileMonitorService)