diff --git a/Gulen/tuya-dehumidifier.service b/Gulen/tuya-dehumidifier.service index 67c4c20..9226d91 100644 --- a/Gulen/tuya-dehumidifier.service +++ b/Gulen/tuya-dehumidifier.service @@ -9,11 +9,11 @@ Group=pi WorkingDirectory=/data/tuya -ExecStart=python3 /data/tuya/tuya-dehumidifier.py >> /tmp/tuya-dehumidifier.py 2>&1 +ExecStart=python3 /data/tuya/tuya-dehumidifier.py >> /tmp/tuya-dehumidifier.log 2>&1 ExecStop=/bin/kill $MAINPID Restart=on-failure RestartSec=30s [Install] -WantedBy=multi-user.target \ No newline at end of file +WantedBy=multi-user.target