work
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jeffrey C. Ollie 2020-10-05 13:25:09 -05:00
parent 7345fae9f2
commit 595d8b0cd1
Signed by: jeff
GPG Key ID: 6F86035A6D97044E
4 changed files with 16 additions and 11 deletions

View File

@ -3,7 +3,7 @@ kind: secret
name: drone_ssh_private_key
get:
path: drone-ssh-key
name: drone_ssh_private_key
name: ssh-private-key
---
kind: pipeline
type: kubernetes
@ -36,6 +36,7 @@ steps:
settings:
host:
- "192.168.4.147"
- "192.168.4.79"
username: root
key:
from_secret: drone_ssh_private_key
@ -51,6 +52,7 @@ steps:
settings:
host:
- "192.168.4.147"
- "192.168.4.79"
username: root
key:
from_secret: drone_ssh_private_key

5
.gitignore vendored
View File

@ -1,3 +1,2 @@
/ble-sensors*
/bluelisten
/secrets.txt
/ble-sensors.yaml
/ble-sensors

View File

@ -1,7 +0,0 @@
[settings]
line_length = 160
force_single_line = True
from_first = False
force_sort_within_sections = True
known_twisted = twisted
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,TWISTED,LOCALFOLDER

11
ble-sensors.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=Listen to BLE Sensor Broacasts
[Service]
Type=simple
ExecStart=/opt/ble-sensors/ble-sensors listen
Restart=Always
RestartSec=5s
[Install]
WantedBy=multi-user.target