commit stale changes
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Application for collect data from Arielle (id.3)
|
||||
|
||||
# Optional: Wartet, bis das Netzwerk bereit ist
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
# Der vollständige Pfad zu deinem Skript
|
||||
ExecStart=/home/jens/work/picam/run.sh
|
||||
# Startet den Service bei einem Fehler neu
|
||||
Restart=always
|
||||
# Der Benutzer, unter dem der Service läuft (z.B. root, wenn nötig)
|
||||
#User=dein_benutzername
|
||||
# Optional: Arbeitsverzeichnis
|
||||
#WorkingDirectory=/pfad/zum/projektordner
|
||||
|
||||
[Install]
|
||||
# Sorgt dafür, dass der Service beim Booten startet
|
||||
WantedBy=multi-user.target
|
||||
@@ -0,0 +1,2 @@
|
||||
#!/bin/env bash
|
||||
exec python3 /home/jens/work/picam/rpi_camera_surveillance_system_mjpeg.py
|
||||
@@ -2,6 +2,11 @@
|
||||
#pset = patch.fromfile(unified_diff_filename)
|
||||
#pset.apply()
|
||||
|
||||
from pathlib import Path
|
||||
import os
|
||||
|
||||
def main():
|
||||
print("Post install executed")
|
||||
print(f"{Path(os.path.dirname(__file__)).absolute()}")
|
||||
|
||||
print("Post install executed")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user