install.sh
- installs transmissionuseradd.sh username password
- creates a transmission user, system user should existsuserdel.sh username
- deletes transmission user, doesn't delete user systemdaemon.sh start|stop|restart username
- daemonize user transmission
For a more powerful usage see ezseed
passwd.sh
and useradd.sh
are node-dependent because we need to update a json
file. sed
's are awful and I have no python knowledges (but yes it could be a nice alternative !)
This module is there to be used without ezseed whole package. If you need to require this in a module:
var i = require('ezseed-transmission')('install')
console.log(i)
//will output
// /path/to/the/node_modules/ezseed-rtorrent/install.sh