Add Jenkinsfile for build automation
This commit is contained in:
parent
1d0b694627
commit
bf0ece92ab
8 changed files with 302 additions and 0 deletions
10
.build/rpxy-start.sh
Normal file
10
.build/rpxy-start.sh
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Check if rpxy-webui is installed
|
||||
if dpkg-query -W -f='${Status}' rpxy-webui 2>/dev/null | grep -q "install ok installed"; then
|
||||
echo "rpxy-webui is installed. Starting rpxy with rpxy-webui"
|
||||
exec /usr/local/bin/rpxy --enable-webui
|
||||
else
|
||||
echo "rpxy-webui is not installed. Starting with default config"
|
||||
exec /usr/local/bin/rpxy
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue