diff --git a/conf/systemd.service b/conf/systemd.service index 4b1aeb4..04b20a2 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Type=simple User=__APP__ Group=__APP__ WorkingDirectory=__INSTALL_DIR__/ -ExecStart=__INSTALL_DIR__/simplytranslate +ExecStart=__INSTALL_DIR__/web/web # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these diff --git a/scripts/install b/scripts/install index 54abf26..1a3991e 100755 --- a/scripts/install +++ b/scripts/install @@ -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/ popd -mv $install_dir/web/web $install_dir/simplytranslate -chmod +x "$install_dir/simplytranslate" +chmod +x "$install_dir/web/web" ynh_remove_go #=================================================