diff options
author | Michael Polenchuk <mpolenchuk@mirantis.com> | 2018-06-01 14:24:35 +0400 |
---|---|---|
committer | Alexandru Avadanii <Alexandru.Avadanii@enea.com> | 2018-06-08 15:30:42 +0200 |
commit | 21638104f5b82ef06c4c60cf968aab5ae8906e31 (patch) | |
tree | 48b550bfb5b39152a95d3cf86f7580aba2b71fb8 /mcp/salt-formulas/tacker/files/tacker.systemd | |
parent | bf341b7e0d7e423044827f379e4b180e9dc897a1 (diff) |
Bring in Tacker salt formula
Install tacker from git repository since there is no ubuntu package yet.
Change-Id: Ibe4b6486050213df1a545c5c79c43a635bbf6c08
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
Diffstat (limited to 'mcp/salt-formulas/tacker/files/tacker.systemd')
-rw-r--r-- | mcp/salt-formulas/tacker/files/tacker.systemd | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mcp/salt-formulas/tacker/files/tacker.systemd b/mcp/salt-formulas/tacker/files/tacker.systemd new file mode 100644 index 000000000..12ff5cdde --- /dev/null +++ b/mcp/salt-formulas/tacker/files/tacker.systemd @@ -0,0 +1,20 @@ +############################################################################## +# Copyright (c) 2018 Mirantis Inc. and others. +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## +[Unit] +Description = OpenStack Tacker service + +[Service] +ExecReload = /bin/kill -HUP $MAINPID +TimeoutStopSec = 300 +KillMode = process +WorkingDirectory = /tmp +ExecStartPre=/bin/mkdir -p /var/log/tacker +ExecStart=/usr/local/bin/tacker-server --config-file /usr/local/etc/tacker/tacker.conf --log-file /var/log/tacker/tacker.log + +[Install] +WantedBy = multi-user.target |