[mw-devel] MW3 r1354 - trunk

welshbyte at sucs.org welshbyte at sucs.org
Fri Nov 1 23:32:07 GMT 2013


Author: welshbyte
Date: 2013-11-01 23:32:07 +0000 (Fri, 01 Nov 2013)
New Revision: 1354

Modified:
   trunk/mw.service
Log:
Create /var/run/mw before starting the server in the systemd service file


Modified: trunk/mw.service
===================================================================
--- trunk/mw.service	2013-11-01 23:15:06 UTC (rev 1353)
+++ trunk/mw.service	2013-11-01 23:32:07 UTC (rev 1354)
@@ -3,6 +3,8 @@
 After=network.target
 
 [Service]
+ExecStartPre=-/bin/mkdir /var/run/mw
+ExecStartPre=/bin/chown -R mw:mw /var/run/mw
 ExecStart=/usr/bin/mwserv --foreground --port 9999
 
 [Install]




More information about the mw-devel mailing list