new: systemd service file for bettercap as a system api.rest server

This commit is contained in:
evilsocket 2018-08-29 16:02:47 +03:00
commit 5aa69aebff
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
2 changed files with 17 additions and 0 deletions

15
bettercap.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=bettercap api.rest service.
Documentation=https://bettercap.org
Wants=network.target
After=network.target
[Service]
Type=simple
PermissionsStartOnly=true
ExecStart=/usr/local/bin/bettercap -autostart "events.stream, net.recon, api.rest" -no-colors -eval "set events.stream.output /var/log/bettercap.log"
Restart=always
RestartSec=30
[Install]
WantedBy=multi-user.target