distcloud/distributedcloud/files/dcorch-nova-api-proxy.service
Gustavo Herzmann b7f31ee6b6 Migrate distributedcloud .deb from dl_hooks
Replace dl_hook with "src_path" and moves the 'files' folder
outside of the 'centos' directory.

Test Plan:
1. PASS - Successfully build distributedcloud package
2. PASS - Build an image and install it, checking if it includes the
          latest distributedcloud package.
3. PASS - Modify a source file, do a second subsequent build without
          using the clean option, install the image and verify that
          the build picks up the most recent .deb file by checking
          if the modification is present on the source file.

Story: 2010512
Task: 47108

Signed-off-by: Gustavo Herzmann <gustavo.herzmann@windriver.com>
Change-Id: I0f82689298e203e3655ec47cb1ab7683f440908a
2023-01-13 15:46:06 +00:00

14 lines
314 B
Desktop File

[Unit]
Description=DC Orchestrator API Proxy Service
After=syslog.target network.target mysqld.service
[Service]
Type=simple
# TODO(Bart): what user to use?
User=root
ExecStart=/usr/bin/dcorch-api-proxy --config-file /etc/dcorch/dcorch.conf --type compute
Restart=on-failure
[Install]
WantedBy=multi-user.target