From ef85e805eac28c54c5c342b7d7a713500b286c16 Mon Sep 17 00:00:00 2001 From: pks Date: Tue, 11 May 2021 10:15:53 +0200 Subject: fix install script --- config/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/install b/config/install index 6252853..9891c58 100755 --- a/config/install +++ b/config/install @@ -1,11 +1,11 @@ #!/bin/bash -sudo ln -s config/weather-logger-receiver.yaml /etc/ -sudo ln -s config/systemd/weather-logger-receiver.service /etc/systemd/system/ +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 config/syslog/50weather-logger-receiver.conf /etc/rsyslog.d/ +sudo ln -s $(pwd)/syslog/50weather-logger-receiver.conf /etc/rsyslog.d/ sudo systemctl restart rsyslog -sudo ln -s config/logrotate/weather-logger-receiver /etc/logrotate.d/ +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 -- cgit v1.2.3