Add rattail filemon debug
command option for win32
to make troubleshooting a bit easier
This commit is contained in:
parent
cac1afa9d8
commit
9dc616635d
|
@ -730,6 +730,9 @@ class FileMonitorCommand(Subcommand):
|
|||
uninstall = subparsers.add_parser('uninstall', help="Uninstall (remove) service")
|
||||
uninstall.set_defaults(subcommand='remove')
|
||||
|
||||
debug = subparsers.add_parser('debug', help="Run service in debug mode")
|
||||
debug.set_defaults(subcommand='debug')
|
||||
|
||||
def run(self, args):
|
||||
if sys.platform in ('linux', 'linux2'):
|
||||
from rattail.filemon import linux as filemon
|
||||
|
|
Loading…
Reference in a new issue