implement --user
fix @278
This commit is contained in:
parent
da65d0a2ee
commit
ae99698b4e
4 changed files with 48 additions and 9 deletions
|
@ -73,6 +73,7 @@ def main():
|
|||
sys.exit(1)
|
||||
signal.signal(signal.SIGINT, int_handler)
|
||||
|
||||
daemon.set_user(config.get('user', None))
|
||||
loop.run()
|
||||
except (KeyboardInterrupt, IOError, OSError) as e:
|
||||
logging.error(e)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue