aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/tacker/files/tacker.systemd
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-06-08 15:24:50 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-06-08 15:24:50 +0000
commit5bef2b99e26c798eb0a5deb3010662eeb941344b (patch)
tree9383a4d0282dfc5d25cd32880a7b8ab0af8ed2e7 /mcp/salt-formulas/tacker/files/tacker.systemd
parent18e2ece7f9f1aba3a4bdc031020b97f40e65fb3c (diff)
parent21638104f5b82ef06c4c60cf968aab5ae8906e31 (diff)
Merge "Bring in Tacker salt formula"
Diffstat (limited to 'mcp/salt-formulas/tacker/files/tacker.systemd')
-rw-r--r--mcp/salt-formulas/tacker/files/tacker.systemd20
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