summaryrefslogtreecommitdiff
path: root/config/install
diff options
context:
space:
mode:
Diffstat (limited to 'config/install')
-rwxr-xr-xconfig/install17
1 files changed, 0 insertions, 17 deletions
diff --git a/config/install b/config/install
deleted file mode 100755
index 9891c58..0000000
--- a/config/install
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/bash
-
-sudo ln -s $(pwd)/weather-logger-receiver.yaml /etc/
-sudo ln -s $(pwd)/systemd/weather-logger-receiver.service /etc/systemd/system/
-sudo systemctl daemon-reload
-sudo ln -s $(pwd)/syslog/50weather-logger-receiver.conf /etc/rsyslog.d/
-sudo systemctl restart rsyslog
-sudo ln -s $(pwd)/logrotate/weather-logger-receiver /etc/logrotate.d/
-sudo systemctl restart logrotate
-
-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
- sudo chown -R weather-logger:weather-logger $prefix/weather_logger
- sudo chmod -R 755 $prefix/weather_logger
-done