Explorar o código

add logging to systemd

Francesco Palmarini %!s(int64=5) %!d(string=hai) anos
pai
achega
3e5c1d63fb
Modificáronse 1 ficheiros con 2 adicións e 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