Created
March 24, 2017 17:58
-
-
Save rafaelhenrique/0523848fe5c4b6d839d7ccdbb4dce37f to your computer and use it in GitHub Desktop.
Systemd unit of tsurud service
This file contains hidden or 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=Tsuru (tsuru-server-api) | |
After=network.target | |
Requires=mongod.service redis.service | |
Documentation=https://tsuru.io/ | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/tsurud api --config=/etc/tsuru/tsuru.conf | |
PIDFile=/var/run/tsuru-server-api.pid | |
Restart=always | |
User=tsuru | |
Group=tsuru | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment