Explorar el Código

add logging to systemd

Francesco Palmarini hace 5 años
padre
commit
3e5c1d63fb
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      systemd/lenovo_fix.service

+ 2 - 0
systemd/lenovo_fix.service

@@ -4,6 +4,8 @@ Description=Stop Intel throttling
 [Service]
 Type=simple
 ExecStart=/opt/lenovo_fix/venv/bin/python3 /opt/lenovo_fix/lenovo_fix.py
+StandardOutput=syslog
+StandardError=syslog
 
 [Install]
 WantedBy=multi-user.target