Created
April 26, 2017 04:07
-
-
Save davefinster/b0895af861c7f9c75038317cc969e422 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] | |
Description=RethinkDB Database Server | |
After=network.target consul.service | |
[Service] | |
Type=simple | |
User=rethinkdb | |
Group=rethinkdb | |
ExecStart=<%= @rethinkdb_bin_path %> --config-file <%= @rethinkdb_config_path %> | |
KillMode=process | |
TimeoutStopSec=120 | |
RestartSec=60 | |
Restart=always | |
SuccessExitStatus=1 2 8 SIGKILL SIGINT | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment