diff options
author | pks <pks@pks.rocks> | 2021-05-11 07:52:42 +0200 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-05-11 07:52:42 +0200 |
commit | ebfe9cad5ef406052518af6a0c29d069f2dc04db (patch) | |
tree | 7feafcd11c99a13130ce19c76823a9757b27ac80 /config/install | |
parent | e147fda651e352713d57aaeca44aab2302d4b9bf (diff) |
fix
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 |