[ 
https://issues.apache.org/jira/browse/TINKERPOP-980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15672615#comment-15672615
 ] 

ASF GitHub Bot commented on TINKERPOP-980:
------------------------------------------

Github user dkuppitz commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/439#discussion_r88381095
  
    --- Diff: docs/src/reference/gremlin-applications.asciidoc ---
    @@ -1482,6 +1513,62 @@ and standard deviation evaluation times, as well as 
the 75th, 95th, 98th, 99th a
     mean, and standard deviation evaluation times, as well as the 75th, 95th, 
98th, 99th and 99.9th percentile evaluation
     times.
     
    +As A Service
    +^^^^^^^^^^^^
    +
    +Gremlin server can be configured to run as a service.
    +
    +Init.d (SysV)
    ++++++++++++++
    +
    +Link `bin/gremlin-server.sh` to `init.d`
    +Be sure to set RUNAS to the service user in `bin/gremlin-server.conf`
    +
    +[source,bash]
    +----
    +# Install
    +ln -s /path/to/apache-tinkerpop-gremlin-server-x.y.z/bin/gremlin-server.sh 
/etc/init.d/gremlin-server
    +
    +# Systems with chkconfig/service. E.g. Fedora, Red Hat
    +chkconfig --add gremlin-server
    +
    +# Start
    +service gremlin-server start
    +
    +# Or call directly
    +/etc/init.d/gremlin-server restart
    +
    +----
    +
    +Systemd
    ++++++++
    +
    +To install, copy the this service template to 
/etc/systemd/system/gremlin.service
    +and update the paths `/path/to/apache-tinkerpop-gremlin-server` with the 
actual install path of gremlin server.
    +
    +[source,bash]
    +----
    +[Unit]
    +Description=Apache Tinkerpop Gremlin server daemon
    --- End diff --
    
    Tinkerpop => TinkerPop
    Gremlin server => Gremlin Server


> Add a service script or daemon mode in the distribution
> -------------------------------------------------------
>
>                 Key: TINKERPOP-980
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-980
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.0.2-incubating
>            Reporter: Jeremy Hanna
>            Assignee: Dylan Millikin
>            Priority: Minor
>              Labels: breaking
>
> Based on this discussion, it looks like there was an example from [~dkuppitz] 
> on how to create a gremlin server service on linux:
> https://groups.google.com/forum/#!msg/gremlin-users/uA48IQ3YJcw/4KnUKIS8HI4J
> Here is a link to the gist for the service:
> https://gist.github.com/dkuppitz/20bda51e3465a612cd9b
> I think it would be great to include this or a way to daemonize the server 
> into the tinkerpop distribution.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to