jannis-a / pyload-freebsd

A FreeBSD port for pyLoad
21 stars 8 forks source link

pyload-freebsd

This is a FreeBSD port for the current stable version (0.4.9) of pyLoad. I made this for my FreeNAS Jail. A rc.d script for auto starting pyLoad is included.

Installation

  1. Make sure you have the ports tree, if not run (will take a while). Install git via port OR binary package

    # portsnap fetch extract
    # cd /usr/ports/devel/git && make install clean
    # pkg_add -r git
  2. Clone my port repo to your ports tree and install it (remember to activate COOKIES for ftp/curl !!!):

    # cd /usr/ports/www
    # git clone https://github.com/mrhanky17/pyload-freebsd.git pyload
    # cd pyload/ && make install clean
  3. Enable and run pyLoad (if no pyload.conf exists, setup will be called first):

    # echo 'pyload_enable="YES"' >> /etc/rc.conf
    # touch /usr/local/etc/pyload/pyload.conf
    # service pyload start
  4. Optional settings (add to /etc/rc.conf):

    • pyload_config="/usr/local/etc/pyload"
    • pyload_flags="--daemon"
    • pyload_pid="/var/run/pyload.pid"
  5. Finished, go to the web interface or use the command line interface. :)

Symlinks in /usr/local/bin

# pyload
# pyload-cli
# pyload-gui (will be obsolete in next pyLoad version, dependencies have to be installed per hand)