You would also want to run update-rc.d for the runlevels so that it is started on reboot.
I'm afraid I don't remember the exact syntax. Note that the init script from Jena Fuseki uses /etc/fuseki for both configuration and data storage. You can either edit the init script or create a symlink to use a different folder. On 3 Feb 2015 22:49, "Joshua TAYLOR" <[email protected]> wrote: > "How to start Fuseki when OS starts?" [1] may be of interest to you: > > "Fuseki comes with a script that does exactly the kinds of things > you're asking for. It's just a matter of putting the fuseki script in > an init.d directory" > > I've not used Red Hat/Fedora in a while, but I imagine it must have > some of the same kinds of init.d scripts. > > [1] http://stackoverflow.com/q/26589016/1281433 > > On Tue, Feb 3, 2015 at 5:21 PM, Legault, Phillip [ITSUS] > <[email protected]> wrote: > > > > I'm new to Jena Fuseki and I hope someone can help me. I'm trying to get > the fuseki server running on redhat @ reboot. > > I'm able to get it running at the command line and the test data worked. > > export JENAROOT=/app/jena > > PATH=$PATH:$JENAROOT/bin > > ./fuseki-server --update --loc=DB --port=8080 /ds > > > > I'm setting this up to use with a Semantic MediaWiiki server > > > > How do I get this to start on reboot with the env vars? > > > > I tried starting it with crontab and could not get it to work. > > > > > > > > > > > > -- > Joshua Taylor, http://www.cs.rpi.edu/~tayloj/ >
