we need to restart murmur if we're updating the db directly, so in the future we need to RPC/DBUS/ICE this
This commit is contained in:
parent
08d3958b47
commit
704e590891
@ -1,2 +1,3 @@
|
||||
-add lsChans()
|
||||
-lsACL? lsBans? edit these?
|
||||
-find out some way to use the DBus/ICE/RPC interface instead? then we can get rid of the reload
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user