Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scripts
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
infra
scripts
Commits
b5ad5ced
Commit
b5ad5ced
authored
Aug 17, 2023
by
Joab Bremer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update install_unifi_with_nxrelay
parent
89d9b2a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
install_unifi_with_nxrelay.sh
install_unifi_with_nxrelay.sh
+2
-2
No files found.
install_unifi_with_nxrelay
→
install_unifi_with_nxrelay
.sh
View file @
b5ad5ced
...
...
@@ -57,7 +57,7 @@ install_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/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
(){
cat
>
/etc/systemd/system/unifi.service
<<
EOF
...
...
@@ -83,7 +83,7 @@ WantedBy=multi-user.target
EOF
}
creating_service_nxrelay
(){
cat
>
/etc/systemd/system/
unifi
.service
<<
EOF
cat
>
/etc/systemd/system/
nxrelay
.service
<<
EOF
#
# Systemd unit file for nxrelay
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment