Update install script with new good practices (run_directory)
This commit is contained in:
parent
0efdf8ee11
commit
7354192d94
@ -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_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 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 cp $run_directory/transmission-vpn.service /etc/systemd/system/
|
||||||
sudo sed -i -e "s:PH_DIRECTORY:$(pwd):g" /etc/systemd/system/transmission-vpn.service
|
sudo sed -i -e "s:PH_DIRECTORY:$run_directory:g" /etc/systemd/system/transmission-vpn.service
|
||||||
sudo cp $run_directory/transmission-vpn.timer /etc/systemd/system/
|
sudo cp $run_directory/transmission-vpn.timer /etc/systemd/system/
|
||||||
|
|
||||||
echo "Reloading Systemd..."
|
echo "Reloading Systemd..."
|
||||||
|
Reference in New Issue
Block a user