On the Galaxy server website for setting up a local server, they recommend setting up Galaxy to run as a NON-ROOT system service (excerpt below). Does anyone know how to do this? I am on CENTOS with the galaxy files set up in the home directory of non-root user "galaxy." I have been logging in remotely to start the script over ssh but I can see this is not ideal.
Suggestions appreciated. zach cp
Galaxy should be a managed system service (like Apache, mail servers, database servers, etc.) run by the galaxy user. Init scripts, OS X launchd definitions and Solaris SMF manifests are provided in the contrib/ directory of the distribution. You can also use the --daemon and --stop-daemon arguments to run.sh to start and stop by hand, but still run detached. When running as a daemon the server's output log will be written to paster.log instead of the terminal, unless instructed otherwise with the --log-file argument.
Oh, I'll just steal this one, then... ;)
awesome! I like playing with code as much as the next man but it does seem that you can muck up your system pretty good with init scripts. thanks brad.
Committed in b2bc0629e781.
Committed in b2bc0629e781. Thanks!
Nate, brilliant stuff. Thanks for putting this in so quickly. Zach, glad to help.
just change /path/to/galaxy and chmod +x and you are good to go. worked like a charm. thanks guys.