Make settings.json owned by telelog user

This commit is contained in:
Michael De Roover 2023-08-01 00:33:43 +02:00
parent 20e934dff0
commit 53942323f4
Signed by: vim
GPG Key ID: 075496E232CE04CB
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ addfiles(){
install -m640 -o root -g telelog config.py /var/telelog/config.py
install -m755 -o root -g root bin/telelog /usr/bin/telelog
echo '{}' > /var/telelog/settings.json
chown telelog:telelog /var/telelog/settings.json
# Install service files on installed inits
if [ -e /sbin/openrc ]