mirror of
https://github.com/YunoHost-Apps/etherpad_mypads_ynh.git
synced 2024-09-03 18:36:09 +02:00
cleaning
This commit is contained in:
parent
45878249ed
commit
e3711035ed
3 changed files with 4 additions and 6 deletions
|
@ -10,8 +10,8 @@ WorkingDirectory=__INSTALL_DIR__/
|
||||||
Environment=ETHERPAD_PRODUCTION=true
|
Environment=ETHERPAD_PRODUCTION=true
|
||||||
Environment="__YNH_NODE_LOAD_PATH__"
|
Environment="__YNH_NODE_LOAD_PATH__"
|
||||||
ExecStart=__INSTALL_DIR__/bin/run.sh
|
ExecStart=__INSTALL_DIR__/bin/run.sh
|
||||||
StandardOutput=append:/var/log/__APP__/etherpad.log
|
#StandardOutput=append:/var/log/__APP__/etherpad.log
|
||||||
StandardError=inherit
|
#StandardError=inherit
|
||||||
Restart=always
|
Restart=always
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
|
|
|
@ -104,8 +104,7 @@ pushd "$install_dir"
|
||||||
ep_headings2@${ep_headings2_version} \
|
ep_headings2@${ep_headings2_version} \
|
||||||
ep_font_size@${ep_font_size_version}
|
ep_font_size@${ep_font_size_version}
|
||||||
if [ $mypads -eq 1 ]; then
|
if [ $mypads -eq 1 ]; then
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run install-plugins \
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run install-plugins ep_mypads@${mypads_version}
|
||||||
ep_mypads@${mypads_version}
|
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
|
@ -147,8 +147,7 @@ pushd $install_dir
|
||||||
ep_headings2@${ep_headings2_version} \
|
ep_headings2@${ep_headings2_version} \
|
||||||
ep_font_size@${ep_font_size_version}
|
ep_font_size@${ep_font_size_version}
|
||||||
if [ $mypads -eq 1 ]; then
|
if [ $mypads -eq 1 ]; then
|
||||||
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run install-plugins \
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH pnpm run install-plugins ep_mypads@${mypads_version}
|
||||||
ep_mypads@${mypads_version}
|
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue