activitycollect/run.sh

12 lines
284 B
Bash
Raw Permalink Normal View History

2022-11-13 06:20:12 +00:00
#!/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