InfluxDB doesn’t work after reboot, problem with rights

Continuing the discussion from InfluxDB doesn't work after reboot, problem with rights:

Hi, I fix it changing the rights /usr/lib/influxdb/scripts and then I make a simple watchdog running in in the crontab :
//
ps efaux | grep -v grep | grep /usr/lib/influxdb/scripts/influxd-systemd-start.sh

if not found - equals to 1, start it

if [ $? -eq 1 ]
then
echo INFLUXDB not running! Restarting…
/usr/lib/influxdb/scripts/influxd-systemd-start.sh >> /tmp/influxdb.log 2>&1 &
else
echo INFLUX running.
fi
//

the entry in the crontab looks like that:
*/1 * * * * /bin.bash /home/user/script_name_see_above.py > /tmp/influx_Watchdog 2>& 1 &

I hope it can helps

Isn’t that just working at the symptoms and not at the root cause ?

Btw that looks a bit strange:

dot between bin and bash and extension .py to be run with bash interpreter ?

my bad, it’s not python. it is just a bash script