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
e609ff36
Commit
e609ff36
authored
3 years ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
inform service to automaitcally create /run/smasch/ direcotyr on gunicorn start
parent
89a45335
No related branches found
No related tags found
1 merge request
!417
Hard restart cause issue with smasch service
Pipeline
#53688
passed
3 years ago
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGELOG
+3
-0
3 additions, 0 deletions
CHANGELOG
debian-files/smasch.service
+1
-0
1 addition, 0 deletions
debian-files/smasch.service
debian-template/postinst
+0
-3
0 additions, 3 deletions
debian-template/postinst
with
4 additions
and
3 deletions
CHANGELOG
+
3
−
0
View file @
e609ff36
smasch (1.1.0~beta.1-1) unstable; urgency=low
* bug fix: hard restart of ubuntu was removing /run/smasch/ folder required
to start application
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 14 Mar 2022 16:00:00 +0200
smasch (1.1.0~beta.0-1) unstable; urgency=low
...
...
This diff is collapsed.
Click to expand it.
debian-files/smasch.service
+
1
−
0
View file @
e609ff36
...
...
@@ -6,6 +6,7 @@ After=network.target
PIDFile
=
/run/smasch/pid
User
=
smasch
Group
=
smasch
RuntimeDirectory
=
smasch
WorkingDirectory
=
/usr/lib/smasch
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 0
...
...
This diff is collapsed.
Click to expand it.
debian-template/postinst
+
0
−
3
View file @
e609ff36
...
...
@@ -17,9 +17,6 @@ if [ "$1" = "configure" ] && [ -z "$2" ]; then
chown
smasch:smasch /etc/smasch/smasch.py
chmod
0600 /etc/smasch/smasch.py
mkdir
-p
/run/smasch/
chown
-R
smasch:smasch /run/smasch/
mkdir
-p
/var/log/smasch
fi
...
...
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