Closed goldyfruit closed 1 month ago
The changes introduce a new task in the Ansible role for OVOS installation, which copies a shell script template to a specified location with defined permissions. This task is conditional based on the ovos_installer_profile
. Additionally, modifications are made to the systemd service configuration for the OVOS PHAL Admin, including an updated ExecStart
command pointing to the new script. A new shell script template is also created to ensure prerequisites are met before starting the service, enhancing the overall management of OVOS services.
File Path | Change Summary |
---|---|
ansible/roles/ovos_installer/tasks/virtualenv/systemd.yml |
Added a task to copy wrapper-ovos-phal-admin.sh with ownership and permission settings; modified existing tasks for systemd unit files to include this new task and adjusted service state conditions. Included a block for uninstalling systemd units and removing related files. |
ansible/roles/ovos_installer/templates/virtualenv/ovos-phal-admin.service.j2 |
Updated ExecStart command to use the new wrapper script; removed ExecStartPost command that changed ownership of /tmp/combo_locks . |
ansible/roles/ovos_installer/templates/virtualenv/wrapper-ovos-phal-admin.sh.j2 |
Introduced a new shell script template that checks for the existence of a directory and starts the OVOS PHAL admin service. |
In the warren where changes bloom,
A script now sweeps away the gloom.
With tasks anew and paths refined,
The OVOS sings, its fate aligned.
Hops of joy in every line,
For smoother starts, our stars align! 🌟🐇
Summary by CodeRabbit
New Features
wrapper-ovos-phal-admin.sh
) to ensure prerequisites for the OVOS PHAL admin service are met before startup.Improvements
Bug Fixes