diff options
-rwxr-xr-x | config/install | 8 |
1 files changed, 4 insertions, 4 deletions
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 |