Compare commits
3 Commits
master
...
armbian-na
Author | SHA1 | Date | |
---|---|---|---|
50ab3d77e6 | |||
6605419db7 | |||
fabc6e0b21 |
@ -1,4 +1,4 @@
|
||||
# NAS Server
|
||||
# NAS Server (OBSOLETE)
|
||||
|
||||
This repository contains files used to set up our NAS server on a freshly installed Armbian. Target is Bullseye.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
run_directory=$(dirname "$0")
|
||||
run_directory=$(dirname $(readlink -f "$0"))
|
||||
|
||||
source "$run_directory/variables.conf"
|
||||
|
||||
@ -16,7 +16,7 @@ sudo sed -i -e "s/PH_USER/$user/g" /etc/systemd/system/transmission-daemon.servi
|
||||
sudo sed -i -e "s/PH_PASSWORD/$password/g" /etc/systemd/system/transmission-daemon.service
|
||||
sudo sed -i -e "s:PH_DL_LOCATION:$dl_location:g" /etc/systemd/system/transmission-daemon.service
|
||||
sudo cp $run_directory/transmission-vpn.service /etc/systemd/system/
|
||||
sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/transmission-vpn.service
|
||||
sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/transmission-vpn.service
|
||||
sudo cp $run_directory/transmission-vpn.timer /etc/systemd/system/
|
||||
|
||||
echo "Reloading Systemd..."
|
||||
|
@ -9,7 +9,7 @@
|
||||
# We can enter an infinite loop, but this will effectively prevent transmission from connecting
|
||||
# If both services are stopped, this script will never be run by error
|
||||
|
||||
run_directory=$(dirname "$0")
|
||||
run_directory=$(dirname $(readlink -f "$0"))
|
||||
source "$run_directory/variables.conf"
|
||||
|
||||
# Parameters
|
||||
|
Reference in New Issue
Block a user