[docker] Add docker-compose definitions
[fuel.git] / mcp / salt-formulas / tacker / files / tacker.systemd
1 ##############################################################################
2 # Copyright (c) 2018 Mirantis Inc. and others.
3 # All rights reserved. This program and the accompanying materials
4 # are made available under the terms of the Apache License, Version 2.0
5 # which accompanies this distribution, and is available at
6 # http://www.apache.org/licenses/LICENSE-2.0
7 ##############################################################################
8 [Unit]
9 Description = OpenStack Tacker service
10
11 [Service]
12 ExecReload = /bin/kill -HUP $MAINPID
13 TimeoutStopSec = 300
14 KillMode = process
15 WorkingDirectory = /tmp
16 ExecStartPre=/bin/mkdir -p /var/log/tacker
17 ExecStart=/usr/local/bin/tacker-server --config-file /usr/local/etc/tacker/tacker.conf --log-file /var/log/tacker/tacker.log
18
19 [Install]
20 WantedBy = multi-user.target