From ebfe9cad5ef406052518af6a0c29d069f2dc04db Mon Sep 17 00:00:00 2001 From: pks Date: Tue, 11 May 2021 07:52:42 +0200 Subject: fix --- config/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config') diff --git a/config/install b/config/install index c161c8d..6252853 100755 --- a/config/install +++ b/config/install @@ -1,4 +1,4 @@ -#!/usr/bin/bash +#!/bin/bash sudo ln -s config/weather-logger-receiver.yaml /etc/ sudo ln -s config/systemd/weather-logger-receiver.service /etc/systemd/system/ @@ -8,7 +8,7 @@ sudo systemctl restart rsyslog sudo ln -s config/logrotate/weather-logger-receiver /etc/logrotate.d/ sudo systemctl restart logrotate -useradd -M -s /bin/bash -G dialout weather-logger +sudo useradd -M -s /bin/bash -G dialout weather-logger for prefix in /run /var/log /usr/local/share; do sudo mkdir -p $prefix/weather_logger -- cgit v1.2.3