diff --git a/Open Media Library.app/Contents/MacOS/install.py b/Open Media Library.app/Contents/MacOS/install.py
index 31adf0f..c4e4c9d 100755
--- a/Open Media Library.app/Contents/MacOS/install.py
+++ b/Open Media Library.app/Contents/MacOS/install.py
@@ -12,7 +12,7 @@ import SocketServer
from threading import Thread
-PORT = 9842
+PORT = 9841
static_dir = os.path.normpath(os.path.join(os.path.abspath(os.path.dirname(__file__)), '..', 'Resources', 'static'))
@@ -112,14 +112,15 @@ class Install(Thread):
return data
def install_launchd(self):
- plist = os.path.expanduser('~/Library/LaunchAgents/com.openmedialibrary.loginscript.plist')
+ name = 'com.openmedialibrary.loginscript'
+ plist = os.path.expanduser('~/Library/LaunchAgents/%s.plist'%name)
with open(plist, 'w') as f:
f.write('''