You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
466 B
INI
13 lines
466 B
INI
[Unit]
|
|
Description=DroneDetector NN Profile Switcher
|
|
After=network-online.target docker.service dronedetector-compose.service
|
|
Wants=network-online.target
|
|
Requires=docker.service
|
|
ConditionPathExists=__PROJECT_ROOT__/.env
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
WorkingDirectory=__PROJECT_ROOT__
|
|
ExecCondition=/usr/bin/systemctl --quiet is-active dronedetector-compose.service
|
|
ExecStart=/usr/bin/python3 __PROJECT_ROOT__/scripts/nn_profile_switcher.py --project-root __PROJECT_ROOT__
|