Can we simply add a restart option to /etc/init.d/jira?
13,16d12 < restart) < ./stop-jira.sh < ./start-jira.sh < ;; 18c14 < echo "Usage: $0 {start|stop|restart}" --- > echo "Usage: $0 {start|stop}"
/etc/init.d/jira restart
You can do something like:
#!/bin/bash cd "/path/to/jira/bin" case "$1" in start) ./start-jira.sh ;; stop) ./stop-jira.sh ;; restart) ./stop-jira.sh ; sleep 4 ; ./start-jira.sh ;; *) echo "Usage: $0 {start|restart|stop}" exit 1 ;; esac
;D
I know I can do that - in fact I posted the code. But each and every time I go to install JIRA I have to remember to do it again. That's why I want them to do it!
P.S. I don't understand why you have the sleep. Works fine without it...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh, gotcha ya! :D The sleep is just and old habit..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, I just found: https://jira.atlassian.com/browse/JRA-29444
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't look that old! ;-) So you're saying that this suggestion, that could be fixed in seconds, has been languishing around for 2 1/2 years...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.