From 3b86cdc9893d510acd680b475029ebc722f4ba5f Mon Sep 17 00:00:00 2001 From: DoctorDehi Date: Sat, 29 May 2021 11:53:12 +0200 Subject: [PATCH] =?UTF-8?q?Konfigurace=20systemd=20upravena=20na=20scripty?= =?UTF-8?q?=20v=20adre=C5=A1=C3=A1=C5=99i=20tohoto=20repozit=C3=A1=C5=99e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- systemd/lucy_modules.service | 2 +- systemd/lucy_primary.service | 2 +- systemd/lucy_video_stream.service | 4 ++-- systemd/lucy_webapp.service | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/systemd/lucy_modules.service b/systemd/lucy_modules.service index 77fabf9..c8f2cc8 100644 --- a/systemd/lucy_modules.service +++ b/systemd/lucy_modules.service @@ -6,7 +6,7 @@ Restart=always StartLimitBurst=0 StandardOutput=syslog StandardError=syslog -ExecStart=/home/pi/dev_lucy/dev/bin/python /home/pi/dev_lucy/Lucy/moduly/rpi/module_loop.py +ExecStart=/home/pi/dev/env/dev/bin/python /home/pi/dev/Lucy/moduly/rpi/module_loop.py [Install] WantedBy=multi-user.target diff --git a/systemd/lucy_primary.service b/systemd/lucy_primary.service index f556eb6..eaa27f7 100644 --- a/systemd/lucy_primary.service +++ b/systemd/lucy_primary.service @@ -6,7 +6,7 @@ Restart=always StartLimitBurst=0 StandardOutput=syslog StandardError=syslog -ExecStart=/home/pi/dev_lucy/dev/bin/python /home/pi/dev_lucy/Lucy/primarni_okruh/rpi/primary_loop.py +ExecStart=/home/pi/dev/env/dev/bin/python /home/pi/dev/Lucy/primarni_okruh/rpi/primary_loop.py [Install] WantedBy=multi-user.target diff --git a/systemd/lucy_video_stream.service b/systemd/lucy_video_stream.service index a4f2594..ba2e12c 100644 --- a/systemd/lucy_video_stream.service +++ b/systemd/lucy_video_stream.service @@ -4,8 +4,8 @@ After=network.target [Service] Type=simple -WorkingDirectory=/home/pi/dev_lucy/Lucy/video_stream/ -ExecStart=/usr/local/bin/node /home/pi/dev_lucy/Lucy/video_stream/videoStream.js +WorkingDirectory=/home/pi/dev/Lucy/video_stream/ +ExecStart=/usr/local/bin/node /home/pi/dev/Lucy/video_stream/videoStream.js Restart=on-failure [Install] diff --git a/systemd/lucy_webapp.service b/systemd/lucy_webapp.service index 820633d..55340ab 100644 --- a/systemd/lucy_webapp.service +++ b/systemd/lucy_webapp.service @@ -4,8 +4,8 @@ Description=Lucy Web Application [Service] Restart=on-failure StartLimitBurst=0 -WorkingDirectory=/home/pi/dev_lucy/Lucy/lucy_webapp -ExecStart=/home/pi/dev_lucy/dev/bin/gunicorn lucy_webapp.wsgi:application --bind 0.0.0.0:8000 +WorkingDirectory=/home/pi/dev/Lucy/lucy_webapp +ExecStart=/home/pi/dev/env/dev/bin/gunicorn lucy_webapp.wsgi:application --bind 0.0.0.0:8000 [Install] WantedBy=multi-user.target