Inital commit
This commit is contained in:
5
templates/BtPing.cfg.template
Normal file
5
templates/BtPing.cfg.template
Normal file
@@ -0,0 +1,5 @@
|
||||
# Set device parameters
|
||||
DeviceName=''
|
||||
DeviceBTMac=''
|
||||
#Domoticz settings(Leave empty if using mqtt)
|
||||
DomoticzIDX=''
|
||||
13
templates/BtPing.service.template
Normal file
13
templates/BtPing.service.template
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
PingerName=<NAME>
|
||||
|
||||
name=$RC_SVCNAME
|
||||
description="Smartpinger ${PingerName}"
|
||||
supervisor="supervise-daemon"
|
||||
command="/opt/Pinger/bin/BtPing.sh"
|
||||
command_args="${PingerName}"
|
||||
command_user="root"
|
||||
|
||||
depend() {
|
||||
after net bluetooth
|
||||
}
|
||||
6
templates/SmartPing.cfg.template
Normal file
6
templates/SmartPing.cfg.template
Normal file
@@ -0,0 +1,6 @@
|
||||
# Set device parameters
|
||||
DeviceName=''
|
||||
DeviceIP=''
|
||||
DeviceBTMac=''
|
||||
#Domoticz settings(Leave empty if using mqtt)
|
||||
DomoticzIDX=''
|
||||
13
templates/SmartPing.service.template
Normal file
13
templates/SmartPing.service.template
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/sbin/openrc-run
|
||||
PingerName=<NAME>
|
||||
|
||||
name=$RC_SVCNAME
|
||||
description="Smartpinger ${PingerName}"
|
||||
supervisor="supervise-daemon"
|
||||
command="/opt/Pinger/bin/SmartPing.sh"
|
||||
command_args="${PingerName}"
|
||||
command_user="root"
|
||||
|
||||
depend() {
|
||||
after net bluetooth
|
||||
}
|
||||
Reference in New Issue
Block a user