Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4041448
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T12:52:54+00:00 2026-05-20T12:52:54+00:00

I have two simple shell scripts to run my solr installation in a screen

  • 0

I have two simple shell scripts to run my solr installation in a screen and restart it on crash (sometimes a memory heap exception happens…)

startserver.sh

cd apache-solr/example
screen -S solrserver ./runner.sh
cd ../..

runner.sh

until java -jar -Xmx1024m start.jar; do
    echo "server stopped with exit code $? restart..." >&2
    sleep 10
done

they work just fine so far, the problem however is, that runner.sh must be executeable for the current user.

so this has to explicitly set.

i have everything in subversion, and subversion is not intelligent enough to manage access rights.

so i am looking for a solution to start the script not as executeable script in the current environment but rather pass it on to the interpreter.

something like:

/bin/bash runner.sh

another alias for that should be just . runner.sh (well than its not necessarily bash but the current users shell)
i did this with perl and php scripts before but somehow it won’t work

i have a straight forward ubuntu 10.04 lts server on an amazon instance. well i installed apache2 and some apache modules, subversion and my favorite command line editor but no major system adaptations.


it works very well with /bin/bash i must have gotten something else wrong. sorry.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T12:52:55+00:00Added an answer on May 20, 2026 at 12:52 pm

    Set the svn:executable property

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two simple tables in my database. A card table that contains Id,
I have two simple while loops in my program that I feel ought to
Simple idea: I have two images that I want to merge, one is 500x500
I have two webapplication, one is a simple authenticationsite which can authenticate the logged
Simple ASP.NET application. I have two drop-down controls. On the first-drop down I have
Ok, i have simple scenario: have two pages: login and welcome pages. im using
I have a simple database with two tables. Users and Configurations. A user has
I have a really simple class with two methods; One that will be called
I have a simple scenario, where two servers are connected through a gigabit link.
I have an application that uses simple sockets to pass some characters between two

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.