add inverter container

This commit is contained in:
2016-07-22 13:29:15 +02:00
parent 0305caa909
commit c31f855ebc
6 changed files with 19 additions and 0 deletions

3
build/boot/inverter.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
set -e
/opt/inverter/inverter.php install schedule

3
build/make/inverter.mk Normal file
View File

@@ -0,0 +1,3 @@
inverter: base php
$(call script,$@)
$(call boot,02,$@)

3
build/runit/inverter Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
set -e
/opt/inverter/inverter.php

3
build/runit/logrotate Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
set -e
/usr/sbin/logrotate

View File

@@ -0,0 +1,6 @@
## Dependencies
apt_install_permanent libappconfig-perl libdevice-serialport-perl rrdtool
pear install -f System_Daemon
## Inverter project
#git clone ...

View File

@@ -0,0 +1 @@
apt_install_permanent logrotate