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