An easy way to start Fuscze when the OS is started, more or less like we start with a tomcat or elastic search example Can start /etc/init.d/tomcat7 or /etc/init.d/elasticsearch start ?
As far as I have not seen, Fuseki does not 'think' that the position is the method, and for this it does not seem that any such thing as / etc / Init.d / move.
Fuski script in the init.d directory, I suppose the Fuski script coming into distribution {start | Stop | Restart | Status} arguments that it looks like in the experiment from the command line: $ ./fuseki usage: fuseki {start | Stop Restart Status} $ ./fuseki status Fuseki is not running $ ./fuseki start fuseki: Redirected for fuseki stderr / stdout ... / Jenna-fuseki-1.1.2 -SNAPSHOT / log / stderrout.log start fuseki Mon Oct 27 10:02:59 EDT 2014 PID = $ 3752 $ ./fuseki Status is running with Fuseki PID: $ 3752 ./fuseki Restart Fuseki: Ok start fuseki: Redirected fuseki stderr For / stdout ... / Jenna-fuseki-1.1.2 -SNAPSHOT / log / stderrout.log fuseki Mon start Oct 27 10: 03: 09 EDT 2014 PID = 3813 $ ./fuseki status Fuseki PID Moving With: $ 3813 / Fuseki Fuseki Stop Stopping: Ok $ ./fuse Ki status Fuseki is not running
This is really designed for this purpose; Looking at the source we see:
* nix system works with #startup script # # for Fuseki (also cygwin ) # ---- --------- # The default values are loaded from / etc / default / fuseki, if it exists
& vellip;
#FUSEKI_HOME # Where Fuseki has been installed If not set, script # will try to guess based on script oriented paths. # # FUSEKI_RUN # where fuseki.pid file should be stored. It is not previously available before / var / run, / usr / var / run, and / tmp if not set. # # FUSEKI_PID # FUSEKI PID file, $ FUSEKI_RUN / fuseki.pid # # FUSEKI_ARGS # Logic to pass on the command line to Fuseki server. # --update --loc = $ FUSKEI_DATA_DIR / DS # If FUSEKI_CONF is not set # --config = $ FUSEKI_CONF # If FUSEKI_CONF # # FUSEKI_CONF # Chemical Fuseki configuration file is set, usually RDF Turtle marking in: The defaults to # # FUSEKI_USER # If this user will use the # # FUSEKI_DATA_DIR # data directory Fuseki as the set server (i.e. value of --loc), it will run. # By default $ FUSEKI_HOME / DB # # FUSEKI_LOGS # directories where logs will be generated. $ FUSEKI_HOME with error / log # # FUSEKI_LOGS_STDERROUT # log files from Fuseki with stderr and stdout log output. For default $ # FUSEKI_LOGS / stderrout.log
Comments
Post a Comment