diff options
author | Yifei Xue <xueyifei@huawei.com> | 2017-03-01 16:39:43 +0800 |
---|---|---|
committer | Justin chi <chigang@huawei.com> | 2017-03-08 04:42:53 +0000 |
commit | 4ba62d9db32b1624a8bb0cd1428fc8dd0ec37da7 (patch) | |
tree | 4afaaf5f5e6969b97929520fd0f9aefdeec44bf4 /deploy/adapters/ansible/roles/tacker/files/tacker.service | |
parent | 3a90b69c278bf4f822d182ce7f1c995f32760173 (diff) |
Upgrade tacker from mitaka to newton
JIRA: COMPASS-528
Add tacker package making scripts into repo/pip/ directory.
Compass will install tacker using pip in this release.
Upgrade tacker role including tasks, templates and vars.
Modify the installation method from using source code to using whl package.
Change-Id: Iead323c7b46d8d1df084ed868d0e01bc1b0f7e55
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/tacker/files/tacker.service')
-rw-r--r-- | deploy/adapters/ansible/roles/tacker/files/tacker.service | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/tacker/files/tacker.service b/deploy/adapters/ansible/roles/tacker/files/tacker.service new file mode 100644 index 00000000..5fd61916 --- /dev/null +++ b/deploy/adapters/ansible/roles/tacker/files/tacker.service @@ -0,0 +1,19 @@ +[Unit] +Description=OpenStack Tacker Server +After= + +[Service] +User=root +Group=root +Type=simple +WorkingDirectory=/var/lib/tacker +PermissionsStartOnly=true +ExecStartPre=/bin/mkdir -p /var/lock/tacker /var/log/tacker /var/lib/tacker +ExecStartPre=/usr/bin/touch /var/log/tacker/tacker.log +ExecStart=/usr/local/bin/tacker-server --config-file /usr/local/etc/tacker/tacker.conf +Restart=on-failure +LimitNOFILE=65535 +TimeoutStopSec=15 + +[Install] +WantedBy=multi-user.target |