Commit b5ad5ced authored by Joab Bremer's avatar Joab Bremer

Update install_unifi_with_nxrelay

parent 89d9b2a2
...@@ -57,7 +57,7 @@ install_nxrelay(){ ...@@ -57,7 +57,7 @@ install_nxrelay(){
reconfigure_nxrelay(){ reconfigure_nxrelay(){
cp /nxrelay_bkp_$(date +%d%m%Y)/conf/cfg.properties /nxrelay/conf/cfg.properties cp /nxrelay_bkp_$(date +%d%m%Y)/conf/cfg.properties /nxrelay/conf/cfg.properties
cp /nxrelay_bkp_$(date +%d%m%Y)/conf/log4j.properties /nxrelay/conf/log4j.properties cp /nxrelay_bkp_$(date +%d%m%Y)/conf/log4j.properties /nxrelay/conf/log4j.properties
cp /nxrelay_bkp_$(date +%d%m%Y)bin/startup.sh /nxrelay/bin/startup.sh cp /nxrelay_bkp_$(date +%d%m%Y)/bin/startup.sh /nxrelay/bin/startup.sh
} }
creating_service_unifi(){ creating_service_unifi(){
cat >/etc/systemd/system/unifi.service<<EOF cat >/etc/systemd/system/unifi.service<<EOF
...@@ -83,7 +83,7 @@ WantedBy=multi-user.target ...@@ -83,7 +83,7 @@ WantedBy=multi-user.target
EOF EOF
} }
creating_service_nxrelay(){ creating_service_nxrelay(){
cat >/etc/systemd/system/unifi.service<<EOF cat >/etc/systemd/system/nxrelay.service<<EOF
# #
# Systemd unit file for nxrelay # Systemd unit file for nxrelay
# #
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment