Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
my-spot
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Code Review
Insights
Issue
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
e
cloud
my-spot
Commits
5c0f9c8c
Commit
5c0f9c8c
authored
Feb 08, 2020
by
Markus Heiser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tooling box: varius fix from tests
Signed-off-by:
Markus Heiser
<
markus.heiser@darmarit.de
>
parent
db5815d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
utils/filtron.sh
utils/filtron.sh
+5
-0
utils/searx.sh
utils/searx.sh
+4
-3
No files found.
utils/filtron.sh
View file @
5c0f9c8c
...
@@ -129,6 +129,11 @@ main() {
...
@@ -129,6 +129,11 @@ main() {
case
$2
in
case
$2
in
all
)
install_all
;;
all
)
install_all
;;
user
)
assert_user
;;
user
)
assert_user
;;
rules
)
rst_title
"Re-Install filtron rules"
echo
install_template
--no-eval
"
$FILTRON_RULES
"
root root 644
;;
*
)
usage
"
$_usage
"
;
exit
42
;;
*
)
usage
"
$_usage
"
;
exit
42
;;
esac
;;
esac
;;
update
)
update
)
...
...
utils/searx.sh
View file @
5c0f9c8c
...
@@ -224,12 +224,13 @@ update_searx() {
...
@@ -224,12 +224,13 @@ update_searx() {
rst_title
"Update searx instance"
rst_title
"Update searx instance"
echo
echo
tee_stderr 0.
1
<<
EOF
| sudo -H -u "
${
SERVICE_USER
}
" -i 2>&1 | prefix_stdout "
$_service_prefix
"
tee_stderr 0.
3
<<
EOF
| sudo -H -u "
${
SERVICE_USER
}
" -i 2>&1 | prefix_stdout "
$_service_prefix
"
cd
${
SEARX_SRC
}
cd
${
SEARX_SRC
}
cp -f
${
SEARX_SETTINGS
}
${
SEARX_SETTINGS
}
.backup
cp -f
${
SEARX_SETTINGS
}
${
SEARX_SETTINGS
}
.backup
git stash push -m "BACKUP -- 'update server' at (
$(
date
)
)"
git stash push -m "BACKUP -- 'update server' at (
$(
date
)
)"
git checkout -b
$SEARX_GIT_BRANCH
" --track "
$SEARX_GIT_BRANCH
"
git checkout -B "
$SEARX_GIT_BRANCH
"
git pull "
$SEARX_GIT_BRANCH
"
git pull
cd
${
SEARX_SRC
}
${
SEARX_SRC
}
/manage.sh update_packages
${
SEARX_SRC
}
/manage.sh update_packages
EOF
EOF
configure_searx
configure_searx
...
...
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