Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Stash init script

Arik Kfir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2013

Hi

I'm trying to make Stash become a UNIX service by following the instructions on https://confluence.atlassian.com/display/STASH/Running+Stash+as+a+Linux+service

All works well - except when running "sudo service stash status" I get this:

/etc/init.d/stash: line 115: status_of_proc: command not found

Seems "status_of_proc" is not part of the LSB functions. My system is Fedora 20

Thanks!

2 answers

1 accepted

1 vote
Answer accepted
Harry Chan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 27, 2013

Have you tried the RHEL version? https://answers.atlassian.com/questions/218946/stash-system-v-init-script-for-rhel

If not, you need to:

You may have to install the redhat-lsb package on RHEL (or derivatives) to provide the LSB functions used in the script.

0 votes
Arik Zochtolovich
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 27, 2013

Thanks! That did the trick. I missed this when I searched for this on the site, since I searched for "status_of_proc".

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Bitbucket Events