]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - make/template/org.inspircd.plist
Update copyright headers.
[user/henk/code/inspircd.git] / make / template / org.inspircd.plist
index 3112d51b1f2b8ac6b64c214fa1138c4855e2d762..ae4e90916f3891ca0c07c616384130400ee2c753 100644 (file)
@@ -1,27 +1,34 @@
+%platform darwin
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
 <plist version="1.0">
 <dict>
        <key>Iterations</key>
        <integer>3</integer>
+       <key>KeepAlive</key>
+       <true/>
        <key>Label</key>
        <string>org.inspircd</string>
        <key>LowPriorityIO</key>
        <true/>
        <key>Nice</key>
        <integer>1</integer>
-       <key>OnDemand</key>
-       <false/>
        <key>Program</key>
        <string>@BINARY_DIR@/inspircd</string>
        <key>ProgramArguments</key>
        <array>
                <string>inspircd</string>
-               <string>-nofork</string>
+               <string>--nofork</string>
        </array>
        <key>ServiceIPC</key>
        <false/>
+       <key>StandardOutPath</key>
+       <string>@LOG_DIR@/launchd-stdout.log</string>
+       <key>StandardErrorPath</key>
+       <string>@LOG_DIR@/launchd-stderr.log</string>
        <key>UserName</key>
-       <string>ircdaemon</string>
+       <string>@USER@</string>
+       <key>GroupName</key>
+       <string>@GROUP@</string>
 </dict>
 </plist>