[Unit] Description=WM1302 LoRaWAN Gateway Service After=network-online.target Wants=network-online.target [Service] Type=simple User=root WorkingDirectory=/home/christoph/sx1302_hal/packet_forwarder #ExecStartPre=/bin/sh -c '/home/pi/sx1302_hal/tools/reset_lgw.sh start' ExecStart=/home/christoph/sx1302_hal/packet_forwarder/lora_pkt_fwd -c /home/christoph/sx1302_hal/packet_forwarder/global_conf.json.sx1250.EU868.USB > /dev/null 2>&1 Restart=on-failure RestartSec=10 [Install] WantedBy=multi-user.target