1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-09 19:29:03 +00:00

Modify stop server method (#330)

This commit is contained in:
feiniks
2020-03-26 15:47:36 +08:00
committed by GitHub
parent de5721db72
commit 3bd274762a

View File

@@ -231,10 +231,10 @@ connection_charset = utf8
def stop(self):
if self.ccnet_proc:
logger.info('Stopping ccnet server')
self.ccnet_proc.terminate()
self.ccnet_proc.kill()
if self.seafile_proc:
logger.info('Stopping seafile server')
self.seafile_proc.terminate()
self.seafile_proc.kill()
def get_seaserv_envs(self):
envs = dict(os.environ)