...we don't need to restart for ls operations

This commit is contained in:
brent s 2017-10-10 20:15:49 -04:00
parent 704e590891
commit f904052111
1 changed files with 3 additions and 2 deletions

View File

@ -302,6 +302,7 @@ class Manager(object):

def close(self):
self.conn.close()
if self.args['operation'] in ('add', 'rm', 'edit'):
_cmd = ['systemctl', 'restart', 'murmur']
subprocess.run(_cmd)
return()