[Unit]
Description=Eingangsschalter
[Service]
ExecStart=/home/pi/Eingangsschalter/schalter.py
WorkingDirectory=/home/pi/Eingangsschalter
User=pi
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target