2019-10-30 19:24:12 +01:00
|
|
|
[Unit]
|
|
|
|
Description=pwngrid peer service.
|
|
|
|
Documentation=https://pwnagotchi.ai
|
|
|
|
Wants=network.target
|
|
|
|
After=bettercap.service
|
|
|
|
|
|
|
|
[Service]
|
2023-11-10 14:34:16 +01:00
|
|
|
Environment=LD_PRELOAD=/usr/local/lib/libpcap.so.1
|
|
|
|
Environment=LD_LIBRARY_PATH=/usr/local/lib
|
2019-10-30 19:24:12 +01:00
|
|
|
Type=simple
|
2024-01-06 21:45:11 +01:00
|
|
|
ExecStart=/usr/local/bin/pwngrid -keys /etc/pwnagotchi -peers /root/peers -address 127.0.0.1:8666 -client-token /root/.api-enrollment.json -wait -log /home/pi/logs/pwngrid-peer.log -iface wlan0mon
|
2019-10-30 19:24:12 +01:00
|
|
|
Restart=always
|
|
|
|
RestartSec=30
|
|
|
|
|
|
|
|
[Install]
|
2023-07-19 11:41:20 +02:00
|
|
|
WantedBy=multi-user.target
|