Merge pull request #230 from caquino/caquino/manual-auto-fix
fix path and ui install
This commit is contained in:
commit
51ac81a557
@ -28,6 +28,7 @@
|
|||||||
packages:
|
packages:
|
||||||
bettercap:
|
bettercap:
|
||||||
url: "https://github.com/bettercap/bettercap/releases/download/v2.25/bettercap_linux_armv6l_2.25.zip"
|
url: "https://github.com/bettercap/bettercap/releases/download/v2.25/bettercap_linux_armv6l_2.25.zip"
|
||||||
|
ui: "https://github.com/bettercap/ui/releases/download/v1.3.0/ui.zip"
|
||||||
apt:
|
apt:
|
||||||
remove:
|
remove:
|
||||||
- rasberrypi-net-mods
|
- rasberrypi-net-mods
|
||||||
@ -182,8 +183,12 @@
|
|||||||
chdir: /tmp/caplets
|
chdir: /tmp/caplets
|
||||||
target: install
|
target: install
|
||||||
|
|
||||||
- name: install bettercap http ui
|
- name: download and install bettercap ui
|
||||||
command: "/usr/bin/bettercap -eval 'caplets.update; ui.update; q'"
|
unarchive:
|
||||||
|
src: "{{ packages.bettercap.ui }}"
|
||||||
|
dest: /usr/local/share/bettercap/
|
||||||
|
remote_src: yes
|
||||||
|
mode: 0755
|
||||||
|
|
||||||
- name: create cpuusage script
|
- name: create cpuusage script
|
||||||
copy:
|
copy:
|
||||||
@ -402,7 +407,9 @@
|
|||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
PermissionsStartOnly=true
|
PermissionsStartOnly=true
|
||||||
ExecStart=/usr/local/bin/bettercap-launcher
|
ExecStartPre=/usr/bin/monstart
|
||||||
|
ExecStart=/usr/bin/bettercap-launcher
|
||||||
|
ExecStopPost=/usr/bin/monstop
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=30
|
RestartSec=30
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user