activitycollect/run.sh
2022-11-13 07:20:12 +01:00

12 lines
284 B
Bash
Executable File

#!/bin/sh
if [ ! -f /etc/activitycollect/config.json ];
then
echo "config not fount - installing default config file";
mkdir -p /etc/activitycollect
cp /activitycollect/config.json /etc/activitycollect/config.json
fi
/usr/bin/activitycollect -c /etc/activitycollect/config.json