diff options
Diffstat (limited to 'config/install')
-rwxr-xr-x | config/install | 4 |
1 files changed, 2 insertions, 2 deletions
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 |