summary refs log tree commit diff stats
path: root/LaunchAgents
diff options
context:
space:
mode:
authorAlan Pearce2014-08-23 13:00:11 +0100
committerAlan Pearce2014-08-23 13:00:11 +0100
commit428f237fd9aa27e271fededeb52a5a7891f257c3 (patch)
treea047599eaf8f641290411defae244de8d4d90db5 /LaunchAgents
parent5fc318b45c456fa51d02860f6ddcf9535684199e (diff)
downloadnixfiles-428f237fd9aa27e271fededeb52a5a7891f257c3.tar.lz
nixfiles-428f237fd9aa27e271fededeb52a5a7891f257c3.tar.zst
nixfiles-428f237fd9aa27e271fededeb52a5a7891f257c3.zip
Add syncthing plist
Diffstat (limited to 'LaunchAgents')
-rw-r--r--LaunchAgents/se.nym.syncthing.plist21
1 files changed, 21 insertions, 0 deletions
diff --git a/LaunchAgents/se.nym.syncthing.plist b/LaunchAgents/se.nym.syncthing.plist
new file mode 100644
index 00000000..0884e4a4
--- /dev/null
+++ b/LaunchAgents/se.nym.syncthing.plist
@@ -0,0 +1,21 @@
+<?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>se.nym.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/>
+	</dict>
+</plist>