summary refs log tree commit diff stats
path: root/LaunchAgents/net.syncthing.syncthing.plist
diff options
context:
space:
mode:
authorAlan Pearce2014-12-17 20:08:44 +0000
committerAlan Pearce2014-12-17 20:08:44 +0000
commit2a3a3b4caf2b881ece4c83b4a7e02047f3735555 (patch)
tree2fa0ba591a2f84323bab4aba1651a58e1d825175 /LaunchAgents/net.syncthing.syncthing.plist
parent7a417e261d3cee8c0aaa91ee18cfe366aad37d27 (diff)
downloadnixfiles-2a3a3b4caf2b881ece4c83b4a7e02047f3735555.tar.lz
nixfiles-2a3a3b4caf2b881ece4c83b4a7e02047f3735555.tar.zst
nixfiles-2a3a3b4caf2b881ece4c83b4a7e02047f3735555.zip
OSX: Update Syncthing launch agent
Diffstat (limited to 'LaunchAgents/net.syncthing.syncthing.plist')
-rw-r--r--LaunchAgents/net.syncthing.syncthing.plist30
1 files changed, 30 insertions, 0 deletions
diff --git a/LaunchAgents/net.syncthing.syncthing.plist b/LaunchAgents/net.syncthing.syncthing.plist
new file mode 100644
index 00000000..1fcd1281
--- /dev/null
+++ b/LaunchAgents/net.syncthing.syncthing.plist
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+	<dict>
+		<key>Label</key>
+		<string>net.syncthing.syncthing</string>
+
+		<key>ProgramArguments</key>
+		<array>
+			<string>/Users/apearce/bin/syncthing</string>
+		</array>
+
+		<key>EnvironmentVariables</key>
+		<dict>
+			<key>HOME</key>
+			<string>/Users/apearce</string>
+			<key>STNORESTART</key>
+			<string>1</string>
+		</dict>
+
+		<key>KeepAlive</key>
+		<true/>
+
+		<key>LowPriorityIO</key>
+		<true/>
+
+		<key>ProcessType</key>
+		<string>Background</string>
+	</dict>
+</plist>