Ver Fonte

add logging to systemd

Francesco Palmarini há 5 anos atrás
pai
commit
3e5c1d63fb
1 ficheiros alterados com 2 adições e 0 exclusões
  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