tlp, final fixes for Devuan with runit.

This commit is contained in:
2026-08-11 11:49:37 -07:00
parent 2541652153
commit e526bd09e8
+4 -7
View File
@@ -129,12 +129,9 @@
and ansible_pkg_mgr == "apt" and ansible_pkg_mgr == "apt"
- name: Workstation | Linux | Software | TLP | runit | Enable + Start - name: Workstation | Linux | Software | TLP | runit | Enable + Start
shell: | command: "{{ item }}"
if [[ ! -e {{ runit_service_dir }}/{{ tlp_service }} && loop:
-e {{ runit_script_dir }}/{{ tlp_service }} ]]; then - "ln -sf {{ runit_script_dir }}/{{ tlp_service }} {{ runit_service_dir }}/{{ tlp_service }}"
ln -s {{ runit_script_dir }}/{{ tlp_service }} {{ runit_service_dir }} - "sv start {{ tlp_service }}"
fi
sv tlp start
executable: "{{ bash_exec.stdout }}"
when: ansible_service_mgr == "runit" when: ansible_service_mgr == "runit"