Co-authored-by: zhangchunyang1024 <zhangchunyang0123@gamil.com>
@ -26,7 +26,8 @@ class DolphinAlertService(Script):
import params
env.set_params(params)
self.install_packages(env)
Execute(('chmod', '-R', '777', params.dolphin_home), user=params.dolphin_user, sudo=True)
Execute(('chmod', '-R', '777', params.dolphin_home))
Execute(('chown', '-R', params.dolphin_user + ":" + params.dolphin_group, params.dolphin_home))
def configure(self, env):
@ -26,7 +26,8 @@ class DolphinApiService(Script):
@ -26,8 +26,8 @@ class DolphinLoggerService(Script):
params.pika_slave = True
@ -27,7 +27,8 @@ class DolphinMasterService(Script):
@ -26,7 +26,8 @@ class DolphinWorkerService(Script):