File tree 8 files changed +8
-26
lines changed
rootfs/etc/s6-overlay/s6-rc.d
svc-dsmr-remote-datalogger
svc-dsmr-webinterface-log
8 files changed +8
-26
lines changed Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_backend-log/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
4
s6-log -bp -- /var/log/dsmr_backend
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_backend/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
- with-contenv
6
-
7
4
if [[ "${DSMRREADER_OPERATION_MODE}" = standalone || "${DSMRREADER_OPERATION_MODE}" = api_server ]]; then
8
5
echo "Starting DSMR Reader - backend..."
9
6
cd /app || exit
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_datalogger-log/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
4
s6-log -bp -- /var/log/dsmr_datalogger
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_datalogger/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
- with-contenv
6
-
7
4
if [[ "${DSMRREADER_OPERATION_MODE}" = standalone ]]; then
8
5
echo "Starting DSMR Reader - datalogger..."
9
6
cd /app || exit
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_client_datalogger/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
- with-contenv
6
-
7
4
if [[ "${DSMRREADER_OPERATION_MODE}" = api_client ]]; then
8
5
echo "Starting DSMR Reader - remote datalogger (api_client)..."
9
6
cd /app || exit
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_webinterface-log/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
4
s6-log -bp -- /var/log/dsmr_webinterface
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/dsmr_webinterface/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
- with-contenv
6
-
7
4
if [[ "${DSMRREADER_OPERATION_MODE}" = standalone || "${DSMRREADER_OPERATION_MODE}" = api_server ]]; then
8
5
echo "Starting DSMR Reader - webinterface..."
9
6
cd /app || exit
Original file line number Diff line number Diff line change 1
- #!/command/execlineb -P
2
- # /etc/s6-overlay/s6-rc.d/nginx/run
1
+ #!/command/with-contenv bash
3
2
# shellcheck shell=bash
4
3
5
- with-contenv
6
-
7
4
if [[ "${DSMRREADER_OPERATION_MODE}" = standalone || "${DSMRREADER_OPERATION_MODE}" = api_server ]]; then
8
5
echo "Starting DSMR Reader - nginx..."
9
6
cd /app || exit
You can’t perform that action at this time.
0 commit comments