summaryrefslogtreecommitdiff
path: root/config/install
diff options
context:
space:
mode:
authorpks <pks@pks.rocks>2021-05-11 07:52:42 +0200
committerpks <pks@pks.rocks>2021-05-11 07:52:42 +0200
commitebfe9cad5ef406052518af6a0c29d069f2dc04db (patch)
tree7feafcd11c99a13130ce19c76823a9757b27ac80 /config/install
parente147fda651e352713d57aaeca44aab2302d4b9bf (diff)
fix
Diffstat (limited to 'config/install')
-rwxr-xr-xconfig/install4
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