From 42c8f3dd27d3c2bc7da958de11e3fb10bb5b082c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 22 Aug 2023 20:45:35 +0200 Subject: linux_status: disable power management before starting the service --- roles/linux_status/templates/disable_power_management.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 roles/linux_status/templates/disable_power_management.conf.j2 (limited to 'roles/linux_status/templates') diff --git a/roles/linux_status/templates/disable_power_management.conf.j2 b/roles/linux_status/templates/disable_power_management.conf.j2 new file mode 100644 index 0000000..a16c83d --- /dev/null +++ b/roles/linux_status/templates/disable_power_management.conf.j2 @@ -0,0 +1,5 @@ +{{ ansible_managed | comment }} + +[Service] +ExecStart= +ExecStart=/usr/bin/python3 -B server.py --disable-power -- cgit v1.2.3