raspiblitz/home.admin/config.scripts/blitz.systemd.sh
2021-12-14 23:34:35 +01:00

17 lines
No EOL
391 B
Bash
Executable file

#!/bin/bash
# command info
if [ "$1" = "-h" ] || [ "$1" = "-help" ]; then
echo "additional systemd services"
echo "blitz.systemd.sh log blockchain STARTED"
echo "blitz.systemd.sh log lightning STARTED"
exit 1
fi
# check parameter
if [ "${1}" != "log" ]; then
echo "# FAIL: unknown parameter"
fi
# count for statistics in cache
/home/admin/_cache.sh increment system_count_start_${2}