[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
This commit is contained in:
parent
957cd5dd9c
commit
879a397215
|
@ -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.
|
There is no `.app` package currently for macOS, but can try Deluge with homebrew.
|
||||||
|
|
||||||
1. Install [Homebrew]
|
1. Install [Homebrew]
|
||||||
2. Open a terminal.
|
2. Open a terminal.
|
||||||
3. Run the following to install required packages:
|
3. Run the following to install required packages:
|
||||||
|
|
||||||
brew install pyobject3 gtk+3 adwaita-icon-theme
|
brew install pyobject3 gtk+3 adwaita-icon-theme
|
||||||
brew install libtorrent-rasterbar
|
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/
|
[develop ppa]: https://launchpad.net/~deluge-team/+archive/ubuntu/develop/
|
||||||
[homebrew]: https://brew.sh/
|
[homebrew]: https://brew.sh/
|
||||||
|
|
|
@ -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>
|
|
@ -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>
|
Loading…
Reference in New Issue