Hallo ,
ich wollte gern die PIR-Signalisierung an meinem Smart-Mirror testen, hänge aber beim letzen Punkt deiner Anleitung. Beim Befehl "sudo systemctl enable pir.service" bekomme ich als Fehlermeldung "Failed to enable unit: File pir.service: Invalid argument".
Ein "sudo systemctl status pir.service" bringt mir folgendes Ergebnis:
● pir.service - Display timeout PIR daemon
Loaded: loaded (/etc/systemd/system/pir.service; bad; vendor preset: enabled)
Active: inactive (dead)
Mar 22 18:21:10 glancr systemd[1]: [/etc/systemd/system/pir.service:11] Assignment outside of section. Ignoring.
Mar 22 18:21:10 glancr systemd[1]: [/etc/systemd/system/pir.service:12] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:2] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:3] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:4] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:5] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:6] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:7] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:8] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:9] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:10] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:11] Assignment outside of section. Ignoring.
Mar 22 18:22:31 glancr systemd[1]: [/etc/systemd/system/pir.service:12] Assignment outside of section. Ignoring.
Was mache ich falsch? Bin für jeden Tipp dankbar
Vielen Dank und viele Grüße!
Andreas