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:
brent s
2017-10-10 20:14:33 -04:00
parent 08d3958b47
commit 704e590891
2 changed files with 5 additions and 1 deletions

View File

@@ -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():