summaryrefslogtreecommitdiff
path: root/network/qbittorrent/README.nox
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2015-11-25 18:12:26 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-28 07:25:59 +0700
commit930330f99242481c2b07ed7d549caca9efe47dee (patch)
tree330417f2223838527ceab4031f6db068a6b7f66e /network/qbittorrent/README.nox
parentc70dba9b054066bab035025403a1ba97c9d2439f (diff)
downloadslackbuilds-930330f99242481c2b07ed7d549caca9efe47dee.tar.gz
network/qbittorrent: Added qbittorrent-nox + an rc init script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/qbittorrent/README.nox')
-rw-r--r--network/qbittorrent/README.nox17
1 files changed, 17 insertions, 0 deletions
diff --git a/network/qbittorrent/README.nox b/network/qbittorrent/README.nox
new file mode 100644
index 0000000000..15193a85ab
--- /dev/null
+++ b/network/qbittorrent/README.nox
@@ -0,0 +1,17 @@
+An rc init script is provided and has the following features:
+
+Runs qbittorrent-nox webui under user who started the script.
+
+Usage:
+/etc/rc.d/rc.qbittorrent-nox start [PORT]|stop|restart [PORT]|status
+Port defaults to 8080 if not provided.
+
+To run this script from rc.local you must run it as a non-root user.
+
+Example:
+/bin/su - david -c /etc/rc.d/rc.qbittorrent-nox start 9000
+
+Program output is sent to /tmp/qbittorrent-nox-$USER
+
+The status command can be run as root, in which case you should see
+all process of qbittorrent-nox, otherwise you will just see $USER's.