diff --git a/mumble/TODO b/mumble/TODO index d84f4b7..46e1abe 100644 --- a/mumble/TODO +++ b/mumble/TODO @@ -1,2 +1,3 @@ -add lsChans() --lsACL? lsBans? edit these? \ No newline at end of file +-lsACL? lsBans? edit these? +-find out some way to use the DBus/ICE/RPC interface instead? then we can get rid of the reload \ No newline at end of file diff --git a/mumble/usermgmt.py b/mumble/usermgmt.py index 0de1986..71836af 100755 --- a/mumble/usermgmt.py +++ b/mumble/usermgmt.py @@ -6,6 +6,7 @@ import hashlib import os import pprint import sqlite3 +import subprocess import sys class Manager(object): @@ -301,6 +302,8 @@ class Manager(object): def close(self): self.conn.close() + _cmd = ['systemctl', 'restart', 'murmur'] + subprocess.run(_cmd) return() def parseArgs():