Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
D
Docker Manticore
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MyCard
Docker Manticore
Commits
2682f534
Commit
2682f534
authored
Feb 05, 2022
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
put cron in user
parent
88d6435c
Pipeline
#9243
passed with stages
in 19 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Dockerfile
Dockerfile
+1
-1
reindex.cron
reindex.cron
+2
-2
No files found.
Dockerfile
View file @
2682f534
...
...
@@ -8,6 +8,6 @@ COPY ./reindex.cron /etc/cron.d/reindex.cron
COPY
./manticore.conf /etc/manticoresearch/manticore.conf
ENV
CHECKING_FILE=posts_minute.spi
RUN
crontab /etc/cron.d/reindex.cron
RUN
crontab /etc/cron.d/reindex.cron
-u
manticore
VOLUME
/var/lib/manticore
reindex.cron
View file @
2682f534
0 4 * * * /bin/bash -c '/usr/bin/flock -xE 0 /tmp/reindex.lock /usr/
local/bin/gosu manticore /usr/
bin/indexer --rotate threads posts' > /var/log/reindex-daily.log 2>&1
* * * * * /bin/bash -c '/usr/bin/flock -nxE 0 /tmp/reindex.lock /usr/
local/bin/gosu manticore /usr/
bin/indexer --rotate threads_minute posts_minute' > /var/log/reindex-minute.log 2>&1
0 4 * * * /bin/bash -c '/usr/bin/flock -xE 0 /tmp/reindex.lock /usr/bin/indexer --rotate threads posts' > /var/log/reindex-daily.log 2>&1
* * * * * /bin/bash -c '/usr/bin/flock -nxE 0 /tmp/reindex.lock /usr/bin/indexer --rotate threads_minute posts_minute' > /var/log/reindex-minute.log 2>&1
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