summaryrefslogtreecommitdiffstats
path: root/mcp/salt-formulas/salt-formula-tacker/tacker/files/tacker.systemd
blob: 12ff5cddeba298d1f654f0169e07a00bb7c75051 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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