mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-04 00:56:07 +01:00
4e3e014764
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
17 lines
574 B
Text
17 lines
574 B
Text
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.
|