| [Unit] |
| Description=Person Detection App Container |
| After=docker.service |
| Requires=docker.service |
| |
| [Service] |
| StandardOutput=file:/var/log/person-detection.log |
| StandardError=file:/var/log/person-detection.log |
| TimeoutStartSec=0 |
| ExecStartPre=-/usr/bin/docker stop %n |
| ExecStartPre=-/usr/bin/docker rm %n |
| ExecStart=/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 |
| ExecStop=/usr/bin/docker stop %n |
| |
| [Install] |
| WantedBy=multi-user.target |