mirror of
https://gitee.com/dolphinscheduler/DolphinScheduler.git
synced 2024-12-04 05:09:48 +08:00
[bugfix] remove Conflicting configuration sudo and user (#3038)
Co-authored-by: zhangchunyang1024 <zhangchunyang0123@gamil.com>
This commit is contained in:
parent
7445fa946b
commit
0f8cb383a3
@ -26,7 +26,8 @@ class DolphinAlertService(Script):
|
|||||||
import params
|
import params
|
||||||
env.set_params(params)
|
env.set_params(params)
|
||||||
self.install_packages(env)
|
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):
|
def configure(self, env):
|
||||||
import params
|
import params
|
||||||
|
@ -26,7 +26,8 @@ class DolphinApiService(Script):
|
|||||||
import params
|
import params
|
||||||
env.set_params(params)
|
env.set_params(params)
|
||||||
self.install_packages(env)
|
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):
|
def configure(self, env):
|
||||||
import params
|
import params
|
||||||
|
@ -26,8 +26,8 @@ class DolphinLoggerService(Script):
|
|||||||
import params
|
import params
|
||||||
env.set_params(params)
|
env.set_params(params)
|
||||||
self.install_packages(env)
|
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):
|
def configure(self, env):
|
||||||
import params
|
import params
|
||||||
params.pika_slave = True
|
params.pika_slave = True
|
||||||
|
@ -27,7 +27,8 @@ class DolphinMasterService(Script):
|
|||||||
import params
|
import params
|
||||||
env.set_params(params)
|
env.set_params(params)
|
||||||
self.install_packages(env)
|
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):
|
def configure(self, env):
|
||||||
import params
|
import params
|
||||||
|
@ -26,7 +26,8 @@ class DolphinWorkerService(Script):
|
|||||||
import params
|
import params
|
||||||
env.set_params(params)
|
env.set_params(params)
|
||||||
self.install_packages(env)
|
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):
|
def configure(self, env):
|
||||||
import params
|
import params
|
||||||
|
Loading…
Reference in New Issue
Block a user