aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/roles/linux_status/templates
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2023-08-22 20:45:35 +0200
committerEgor Tensin <Egor.Tensin@gmail.com>2023-08-22 20:45:35 +0200
commit42c8f3dd27d3c2bc7da958de11e3fb10bb5b082c (patch)
treeba857e75befc0fe67de05320fb3066699076fad7 /roles/linux_status/templates
parentadd input variables to role's defaults/ (diff)
downloadinfra-ansible-42c8f3dd27d3c2bc7da958de11e3fb10bb5b082c.tar.gz
infra-ansible-42c8f3dd27d3c2bc7da958de11e3fb10bb5b082c.zip
linux_status: disable power management before starting the service
Diffstat (limited to 'roles/linux_status/templates')
-rw-r--r--roles/linux_status/templates/disable_power_management.conf.j25
1 files changed, 5 insertions, 0 deletions
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