ソースを参照

add logging to systemd

Francesco Palmarini 5 年 前
コミット
3e5c1d63fb
1 ファイル変更2 行追加0 行削除
  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