summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2019-06-08 19:29:20 +0100
committerCalum Lind <calumlind+deluge@gmail.com>2019-06-08 21:31:49 +0100
commit879a397215f6aa0f1e064e4dae83e9b455ae63f1 (patch)
treeb559b1af1d88d8263bef836d315e00beb760918f /packaging
parent957cd5dd9c82ddc75d3bb5626057cbee7b059c2c (diff)
downloaddeluge-879a397215f6aa0f1e064e4dae83e9b455ae63f1.tar.gz
deluge-879a397215f6aa0f1e064e4dae83e9b455ae63f1.tar.bz2
deluge-879a397215f6aa0f1e064e4dae83e9b455ae63f1.zip
[Packaging] Add updated launchd scripts
Copy from Trac UserGuide and updated with proper naming and deluge-web version. The bin location is default for brew with pip install. Closes: #3073
Diffstat (limited to 'packaging')
-rw-r--r--packaging/osx/launchd/org.deluge-torrent.deluge-web.plist29
-rw-r--r--packaging/osx/launchd/org.deluge-torrent.deluged.plist29
2 files changed, 58 insertions, 0 deletions
diff --git a/packaging/osx/launchd/org.deluge-torrent.deluge-web.plist b/packaging/osx/launchd/org.deluge-torrent.deluge-web.plist
new file mode 100644
index 000000000..b91fb6167
--- /dev/null
+++ b/packaging/osx/launchd/org.deluge-torrent.deluge-web.plist
@@ -0,0 +1,29 @@
+<?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>org.deluge-torrent.deluge-web</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/local/bin/deluge-web</string>
+ <string>-d</string>
+ <string>-L</string>
+ <string>error</string>
+ <string>-l</string>
+ <string>/var/log/deluge-web.log</string>
+ </array>
+ <key>StandardOutPath</key>
+ <string>/tmp/deluge-web.stdout</string>
+ <key>StandardErrorPath</key>
+ <string>/tmp/deluge-web.stderr</string>
+ <!-- To enable running as 'deluge' user remove comments.
+ <key>UserName</key>
+ <string>deluge</string>
+ -->
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <true/>
+</dict>
+</plist>
diff --git a/packaging/osx/launchd/org.deluge-torrent.deluged.plist b/packaging/osx/launchd/org.deluge-torrent.deluged.plist
new file mode 100644
index 000000000..424399b45
--- /dev/null
+++ b/packaging/osx/launchd/org.deluge-torrent.deluged.plist
@@ -0,0 +1,29 @@
+<?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>org.deluge-torrent.deluged</string>
+ <key>ProgramArguments</key>
+ <array>
+ <string>/usr/local/bin/deluged</string>
+ <string>-d</string>
+ <string>-L</string>
+ <string>error</string>
+ <string>-l</string>
+ <string>/var/log/deluged.log</string>
+ </array>
+ <key>StandardOutPath</key>
+ <string>/tmp/deluged.stdout</string>
+ <key>StandardErrorPath</key>
+ <string>/tmp/deluged.stderr</string>
+ <!-- To enable running as 'deluge' user remove comments.
+ <key>UserName</key>
+ <string>deluge</string>
+ -->
+ <key>RunAtLoad</key>
+ <true/>
+ <key>KeepAlive</key>
+ <true/>
+</dict>
+</plist>