JanusGraph / JanusGraph/janusgraph

Add systemd unit file

Open
#734 1 comment 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/server kind/enhancement
Dominant language
Java
Stars
5.8k
Forks
1.2k
Avg merge
13h 53m
Merged PRs (30d)
6

Description

Minimally, document this.

Copy the service template below to `/etc/systemd/system/janusgraph.service` and update the paths `/path/to/janusgraph` with the actual install path of JanusGraph.
```
[Unit]
Description=JanusGraph
Documentation=http://janusgraph.org/
After=network.target

[Service]
Type=forking
User=
Group=
WorkingDirectory=/path/to/janusgraph
# Using /bin/bash gets around potential SELinux issues with Java
ExecStart=/bin/bash -c '/path/to/janusgraph/bin/janusgraph.sh start'
ExecStop=/bin/bash -c '/path/to/janusgraph/bin/janusgraph.sh stop'

[Install]
WantedBy=multi-user.target
```

Enable the service with `systemctl enable janusgraph`

Start the service with `systemctl start janusgraph`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start from the issue's supplied systemd template and the JanusGraph service commands. Document the unit file at /etc/systemd/system/janusgraph.service, including replacement of the installation path and the enable and start commands; done means the setup instructions are available to users.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
devops
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.