commit stale changes

This commit is contained in:
2026-07-26 21:28:55 +02:00
parent a409072428
commit 426c0c92d8
3 changed files with 27 additions and 1 deletions
+19
View File
@@ -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
+2
View File
@@ -0,0 +1,2 @@
#!/bin/env bash
exec python3 /home/jens/work/picam/rpi_camera_surveillance_system_mjpeg.py
+6 -1
View File
@@ -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")