Last active
May 18, 2020 19:52
-
-
Save lhmachado/84190e71c0d42e580d73456a23efd49e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Wants=network-online.target | |
After=network.target network-online.target | |
Description=Gremlin Server as a service | |
[Service] | |
User=root | |
#change this directory into your workspace | |
#mkdir workspace | |
WorkingDirectory=/opt/gremlin-server | |
#path to the executable bash script which executes the jar file | |
ExecStart=/bin/bash start.sh /opt/gremlin-server/conf/gremlin-server-runner.yaml | |
SuccessExitStatus=143 | |
TimeoutStopSec=10 | |
Restart=on-failure | |
RestartSec=5 | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment