Browse Source

add logging to systemd

Francesco Palmarini 5 years ago
parent
commit
3e5c1d63fb
1 changed files with 2 additions and 0 deletions
  1. 2 0
      systemd/lenovo_fix.service

+ 2 - 0
systemd/lenovo_fix.service

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