12 lines
284 B
Bash
12 lines
284 B
Bash
|
#!/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
|
||
|
|