mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
17 lines
498 B
SYSTEMD
17 lines
498 B
SYSTEMD
![]() |
[Unit]
|
||
|
Description=pwngrid peer service.
|
||
|
Documentation=https://pwnagotchi.ai
|
||
|
Wants=network.target
|
||
|
After=bettercap.service
|
||
|
|
||
|
[Service]
|
||
|
Environment=LD_PRELOAD=/usr/local/lib/libpcap.so.1
|
||
|
Environment=LD_LIBRARY_PATH=/usr/local/lib
|
||
|
Type=simple
|
||
|
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 /var/log/pwngrid-peer.log -iface wlan0mon
|
||
|
Restart=always
|
||
|
RestartSec=30
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|