<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>
Tom Lake pushed to branch master
at <a href="https://projects.sucs.org/arthur/mw">Justin Mitchell / mw</a>
</h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/arthur/mw/commit/d32634c20d5c1e05b36dddfcdf3fdcea6da270a7">d32634c2</a></strong>
<div>
<span>by Thomas Lake</span>
<i>at 2016-02-27T19:54:11+00:00</i>
</div>
<pre class='commit-message'>Always set permissions on /var/run/mw in init script</pre>
</li>
</ul>
<h4>1 changed file:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
mwserv.init
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/arthur/mw/commit/d32634c20d5c1e05b36dddfcdf3fdcea6da270a7#diff-0'>
<strong>
mwserv.init
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/mwserv.init
</span><span style="color: #000000;background-color: #ddffdd">+++ b/mwserv.init
</span><span style="color: #aaaaaa">@@ -44,10 +44,13 @@ do_start()
</span> {
        # check if the mw folder in /var/run exists, if not then make it
        if [ ! -d /var/run/mw ]; then
<span style="color: #000000;background-color: #ffdddd">-        mkdir /var/run/mw
-       chown mw:mw /var/run/mw
</span><span style="color: #000000;background-color: #ddffdd">+           mkdir /var/run/mw
</span>   fi
 
<span style="color: #000000;background-color: #ddffdd">+        # 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
+
</span>   # Return
        #   0 if daemon has been started
        #   1 if daemon was already running
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/arthur/mw/commit/d32634c20d5c1e05b36dddfcdf3fdcea6da270a7">View it on GitLab</a>.
<br>
You're receiving this email because of your account on projects.sucs.org.
If you'd like to receive fewer emails, you can
adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/arthur/mw/commit/d32634c20d5c1e05b36dddfcdf3fdcea6da270a7"}}</script>
</p>
</div>
</body>
</html>