This commit is contained in:
parent
7345fae9f2
commit
595d8b0cd1
4 changed files with 16 additions and 11 deletions
|
@ -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
5
.gitignore
vendored
|
@ -1,3 +1,2 @@
|
|||
/ble-sensors*
|
||||
/bluelisten
|
||||
/secrets.txt
|
||||
/ble-sensors.yaml
|
||||
/ble-sensors
|
||||
|
|
|
@ -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
11
ble-sensors.service
Normal 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
|
Loading…
Reference in a new issue