So far I've always started Fuseki like this

$ ./fuseki-server --loc=db --port 9999 --localhost --timeout=10000 /db

but I'm trying to setup a config file such that I no longer have to type in all 
those arguments.
This is my config so far:
 
@prefix fuseki:  <http://jena.apache.org/fuseki#> .
@prefix rdf:     <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs:    <http://www.w3.org/2000/01/rdf-schema#> .
@prefix tdb:     <http://jena.hpl.hp.com/2008/tdb#> .
@prefix ja:      <http://jena.hpl.hp.com/2005/11/Assembler#> .
@prefix :        <#> .

<#service1> rdf:type fuseki:Service ;
    fuseki:name                        "db" ;
    fuseki:serviceQuery                "sparql" ;
    fuseki:serviceQuery                "query" ;
    # fuseki:serviceUpdate             "update" ;
    # fuseki:serviceUpload             "upload" ;
    #fuseki:serviceReadWriteGraphStore "data" ;
    # A separate read-only graph store endpoint:
    fuseki:serviceReadGraphStore       "get" ;
    fuseki:dataset                     <#dataset> ;
<#dataset> rdf:type tdb:DatasetTDB ;
    tdb:location "/home/myself/db" ;
    # Query timeout on this dataset (1s, 1000 milliseconds)
    ja:context [ ja:cxtName "arq:queryTimeout" ;  ja:cxtValue "10000" ] ;
    # Make the default graph be the union of all named graphs.
    tdb:unionDefaultGraph true ;

My question is: how do I specify the "--port" and "--localhost" parameters in 
the config file?

Reply via email to