add inverter container
This commit is contained in:
3
build/boot/inverter.sh
Normal file
3
build/boot/inverter.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
set -e
|
||||||
|
/opt/inverter/inverter.php install schedule
|
||||||
3
build/make/inverter.mk
Normal file
3
build/make/inverter.mk
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
inverter: base php
|
||||||
|
$(call script,$@)
|
||||||
|
$(call boot,02,$@)
|
||||||
3
build/runit/inverter
Normal file
3
build/runit/inverter
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
/opt/inverter/inverter.php
|
||||||
3
build/runit/logrotate
Normal file
3
build/runit/logrotate
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
/usr/sbin/logrotate
|
||||||
6
build/scripts/inverter.sh
Normal file
6
build/scripts/inverter.sh
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
## Dependencies
|
||||||
|
apt_install_permanent libappconfig-perl libdevice-serialport-perl rrdtool
|
||||||
|
pear install -f System_Daemon
|
||||||
|
|
||||||
|
## Inverter project
|
||||||
|
#git clone ...
|
||||||
1
build/scripts/logrotate.sh
Normal file
1
build/scripts/logrotate.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
apt_install_permanent logrotate
|
||||||
Reference in New Issue
Block a user