Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scheduling-system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SMASCH
scheduling-system
Commits
f0832782
Commit
f0832782
authored
4 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
smasch.service does not restart on socket traffic
parent
43505c0f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!292
Resolve "gunicorn.socket should allow to shutdown service without automatic reload on accesing IPv4 port"
Pipeline
#35284
passed
4 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
debian-files/smasch.service
+1
-2
1 addition, 2 deletions
debian-files/smasch.service
debian-files/smasch.socket
+0
-11
0 additions, 11 deletions
debian-files/smasch.socket
debian-template/install
+0
-1
0 additions, 1 deletion
debian-template/install
with
1 addition
and
14 deletions
debian-files/smasch.service
+
1
−
2
View file @
f0832782
[Unit]
Description
=
gunicorn daemon for smasch
Requires
=
smasch.socket
After
=
network.target
[Service]
...
...
@@ -9,7 +8,7 @@ User=smasch
Group
=
smasch
WorkingDirectory
=
/usr/lib/smasch
ExecStart
=
/usr/lib/smasch/env/bin/gunicorn --pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192
ExecStart
=
/usr/lib/smasch/env/bin/gunicorn
-b :8888
--pid /run/smasch/pid smash.wsgi --error-logfile /var/log/smasch/gunicorn.log --log-level DEBUG --capture-output --limit-request-line 8192
ExecReload
=
/bin/kill -s HUP $MAINPID
ExecStop
=
/bin/kill -s TERM $MAINPID
PrivateTmp
=
true
...
...
This diff is collapsed.
Click to expand it.
debian-files/smasch.socket
deleted
100644 → 0
+
0
−
11
View file @
43505c0f
[Unit]
Description=gunicorn socket for smasch
[Socket]
ListenStream=/run/smasch/socket
ListenStream=0.0.0.0:8888
ListenStream=[::]:9999
[Install]
WantedBy=sockets.target
This diff is collapsed.
Click to expand it.
debian-template/install
+
0
−
1
View file @
f0832782
...
...
@@ -7,5 +7,4 @@ smash/package.json /usr/lib/smasch
../requirements-dev.txt /usr/lib/smasch
debian-files/smasch.py /etc/smasch/
debian-files/smasch.service /lib/systemd/system/
debian-files/smasch.socket /lib/systemd/system/
debian-files/logrotate/smasch /etc/logrotate.d
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment