blob: 74197b72f386d9d114154d14070675817f7be556 [file] [log] [blame]
Shad Ansariea2e1dd2022-06-09 12:37:37 -07001#
2# SPDX-FileCopyrightText: 2022-present Intel Corporation
3# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
4# SPDX-License-Identifier: Apache-2.0
5#
6
Shad Ansaria7170992022-04-15 21:36:01 +00007[Unit]
8Description=Person Detection App Container
9After=docker.service
10Requires=docker.service
11
12[Service]
13StandardOutput=file:/var/log/person-detection.log
14StandardError=file:/var/log/person-detection.log
15TimeoutStartSec=0
16ExecStartPre=-/usr/bin/docker stop %n
17ExecStartPre=-/usr/bin/docker rm %n
18ExecStart=/usr/bin/docker run -u root:root --rm --name %n --privileged --network host registry.aetherproject.org/aether-apps/person-detection-app:master --url "http://roc.demo.aetherproject.net/aether-roc-api/aether/v2.0.0/connectivity-service-v2/" --keycloak "http://keycloak.demo.aetherproject.net/auth/realms/aether/protocol/openid-connect/token" --enterprise "ase-4g-enterprise" --site "ase-site-4g" --devicegroup "ase-4g-device-group2" --user "onfadmin" --password "changeme" --num 1
19ExecStop=/usr/bin/docker stop %n
20
21[Install]
22WantedBy=multi-user.target