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
0d308634
Commit
0d308634
authored
Jan 17, 2015
by
Imran Hussain
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Create /var/run/mw/ on startup if it doesn't already exist
parent
d01f9ae6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mwserv.init
mwserv.init
+6
-0
No files found.
mwserv.init
View file @
0d308634
...
...
@@ -42,6 +42,12 @@ SCRIPTNAME=/etc/init.d/$NAME
#
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
fi
# 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