mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] default action cwd to the app yunohost app settings folder
This commit is contained in:
parent
99b395d823
commit
fbaac17870
1 changed files with 1 additions and 1 deletions
|
@ -1416,7 +1416,7 @@ def app_action_run(app_id, action, args=None):
|
|||
path,
|
||||
args=args_list,
|
||||
env=env_dict,
|
||||
chdir=action_declaration.get("cwd"),
|
||||
chdir=action_declaration.get("cwd", "/etc/yunohost/apps/" + app_id),
|
||||
user=action_declaration.get("user", "root"),
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue