1
0
mirror of https://github.com/inexio/thola.git synced 2026-10-24 03:08:55 +03:00
Files
thola/scripts/post-install.sh
2021-04-12 18:11:00 +02:00

11 lines
177 B
Bash

#!/bin/bash
DATA_DIR=/var/lib/thola
if [ ! -f $DATA_DIR/config.yaml ]; then
echo "loglevel: info" > $DATA_DIR/config.yaml
fi
systemctl enable thola
systemctl restart thola