mohanbabi / auth_tailscale

Create a we interface to authentication in your's tailscale netwok
0 stars 0 forks source link

add systemd file to automate python script. #2

Closed mohanbabi closed 6 days ago

mohanbabi commented 6 days ago

considering all raspberry pi board need to be develop systems file. need to support boards:

  1. Raspberry pi all versions.
  2. remaining SBC also.Image Refernce photo is added.
mohanbabi commented 6 days ago

`[Unit] Description=Opencv Script After=tailscae.service Wants=rpanion.service

[Service] python command ---- directory --------------------run ExecStart=/usr/bin/python3 /home/pi/how_do_drones_work/scripts/app.py Restart=on-failure RestartSec=13 User=pi

[Install] WantedBy=default.target `

This sample file must be used to automate the server and start the client app.

mohanbabi commented 6 days ago

tailscal.txt

The file name should to rename to name-of-file.service

mohanbabi commented 6 days ago

so closing the issue....

mohanbabi commented 6 days ago

Added service file, final need to test with real hardware.

  1. Raspberry pi 3
  2. Raspberry zero