Github user dkuppitz commented on a diff in the pull request: https://github.com/apache/tinkerpop/pull/439#discussion_r88381061 --- 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. --- End diff -- gremlin server => Gremlin Server
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---