summaryrefslogtreecommitdiffstats
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
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
-rw-r--r--docs/source/intro/01-install.md18
-rw-r--r--packaging/osx/launchd/org.deluge-torrent.deluge-web.plist29
-rw-r--r--packaging/osx/launchd/org.deluge-torrent.deluged.plist29
3 files changed, 67 insertions, 9 deletions
diff --git a/docs/source/intro/01-install.md b/docs/source/intro/01-install.md
index bcd1712a2..903a7dc6d 100644
--- a/docs/source/intro/01-install.md
+++ b/docs/source/intro/01-install.md
@@ -46,20 +46,20 @@ There is no installer package currently for Windows, but can try Deluge as follo
There is no `.app` package currently for macOS, but can try Deluge with homebrew.
-1. Install [Homebrew]
-2. Open a terminal.
-3. Run the following to install required packages:
+1. Install [Homebrew]
+2. Open a terminal.
+3. Run the following to install required packages:
- brew install pyobject3 gtk+3 adwaita-icon-theme
- brew install libtorrent-rasterbar
+ brew install pyobject3 gtk+3 adwaita-icon-theme
+ brew install libtorrent-rasterbar
-4. To fix translations:
+4. To fix translations:
- brew link gettext --force
+ brew link gettext --force
-5. Install Deluge:
+5. Install Deluge:
- pip3 install deluge
+ pip3 install deluge
[develop ppa]: https://launchpad.net/~deluge-team/+archive/ubuntu/develop/
[homebrew]: https://brew.sh/
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>