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 name: drone_ssh_private_key
get: get:
path: drone-ssh-key path: drone-ssh-key
name: drone_ssh_private_key name: ssh-private-key
--- ---
kind: pipeline kind: pipeline
type: kubernetes type: kubernetes
@ -36,6 +36,7 @@ steps:
settings: settings:
host: host:
- "192.168.4.147" - "192.168.4.147"
- "192.168.4.79"
username: root username: root
key: key:
from_secret: drone_ssh_private_key from_secret: drone_ssh_private_key
@ -51,6 +52,7 @@ steps:
settings: settings:
host: host:
- "192.168.4.147" - "192.168.4.147"
- "192.168.4.79"
username: root username: root
key: key:
from_secret: drone_ssh_private_key from_secret: drone_ssh_private_key

5
.gitignore vendored
View file

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

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