PMSS:Creating basic modules

From Pulsed Media Wiki

Jump to: navigation, search

Basic module support is in very limited early stage. The idea is to have included files for certain portions of code.


These are simple include files, located in /etc/seedbox/modules/basic and named after which file they affect, usually quite near the end of that file.


File: /etc/seedbox/modules/basic/addUser.php Executed as the very last thing on the script, just before starting rTorrent.

Available variables

  • $argv array
  • $user array

$argv contains the command line arguments and $user contains chosen user settings, such as quota and rtorrent ram.

Personal tools