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
14 lines
282 B
Desktop File
14 lines
282 B
Desktop File
[Unit]
|
|
Description=DC Manager API Service
|
|
After=syslog.target network.target mysqld.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
# TODO(Bart): what user to use?
|
|
User=root
|
|
ExecStart=/usr/bin/dcorch-api --config-file /etc/dcorch/dcorch.conf
|
|
Restart=on-failure
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|