diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-08 20:29:20 +0200 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2019-06-08 22:31:49 +0200 |
commit | 879a397215f6aa0f1e064e4dae83e9b455ae63f1 (patch) | |
tree | b559b1af1d88d8263bef836d315e00beb760918f /packaging | |
parent | [Core] Fix SimpleNamespace on Python2 (diff) | |
download | deluge-879a397215f6aa0f1e064e4dae83e9b455ae63f1.tar.xz 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.plist | 29 | ||||
-rw-r--r-- | packaging/osx/launchd/org.deluge-torrent.deluged.plist | 29 |
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> |