mirror of
https://github.com/YunoHost-Apps/simplytranslate_ynh.git
synced 2024-09-03 20:16:26 +02:00
cleaning
This commit is contained in:
parent
a35997501c
commit
b263f2c016
2 changed files with 2 additions and 3 deletions
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__INSTALL_DIR__/
|
WorkingDirectory=__INSTALL_DIR__/
|
||||||
ExecStart=__INSTALL_DIR__/simplytranslate
|
ExecStart=__INSTALL_DIR__/web/web
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
# Depending on specificities of your service/app, you may need to tweak these
|
# Depending on specificities of your service/app, you may need to tweak these
|
||||||
|
|
|
@ -36,8 +36,7 @@ pushd $install_dir/web/
|
||||||
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/
|
ynh_exec_warn_less ynh_exec_as $app CGO_ENABLED=0 $ynh_go build -ldflags='-s -w' -o $install_dir/
|
||||||
popd
|
popd
|
||||||
|
|
||||||
mv $install_dir/web/web $install_dir/simplytranslate
|
chmod +x "$install_dir/web/web"
|
||||||
chmod +x "$install_dir/simplytranslate"
|
|
||||||
ynh_remove_go
|
ynh_remove_go
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue