diff options
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> |