Browse Source

Konfigurace systemd upravena na scripty v adrešáři tohoto repozitáře

master
DoctorDehi 4 years ago
parent
commit
3b86cdc989
  1. 2
      systemd/lucy_modules.service
  2. 2
      systemd/lucy_primary.service
  3. 4
      systemd/lucy_video_stream.service
  4. 4
      systemd/lucy_webapp.service

2
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

2
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

4
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]

4
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

Loading…
Cancel
Save