Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
mw
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
18
Issues
18
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
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
milliways
mw
Commits
d32634c2
Commit
d32634c2
authored
Feb 27, 2016
by
Tom Lake
🔧
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always set permissions on /var/run/mw in init script
parent
aa185482
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
mwserv.init
mwserv.init
+5
-2
No files found.
mwserv.init
View file @
d32634c2
...
...
@@ -44,10 +44,13 @@ do_start()
{
# check if the mw folder in /var/run exists, if not then make it
if
[
!
-d
/var/run/mw
]
;
then
mkdir
/var/run/mw
chown
mw:mw /var/run/mw
mkdir
/var/run/mw
fi
# Occasionally /var/run/mw ends up with the wrong permissions
# Running this unconditionally should ensure that we always have ownership
chown
mw:mw /var/run/mw
# Return
# 0 if daemon has been started
# 1 if daemon was already running
...
...
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