项目作者: fuji44

项目描述 :
It is an iocage-plugin made to easily use Flexget with FreeBSD, TrueNAS, FreeNAS.
高级语言: Shell
项目地址: git://github.com/fuji44/iocage-plugin-flexget.git
创建时间: 2021-04-21T01:26:15Z
项目社区:https://github.com/fuji44/iocage-plugin-flexget

开源协议:

下载


iocage-plugin-flexget

Artifact file(s) for flexget iocage plugin

https://flexget.com/

Installation

  1. sudo iocage fetch -P flexget -n flexget -g https://github.com/fuji44/iocage-fuji44-plugins.git ip4_addr="em0|192.168.0.100/24"

Usege

After installation, please access the following URL.
The default password for logging in to the web UI is Flex#get123. How to change the password will be described later.

http://your_ip_addr:5050/

See the URL below for the Web API.

http://your_ip_addr:5050/api

Configure

Most settings can be changed in the Web UI.
Some plugins require additional packages and must be installed manually.

If you want to know more about flexget configuration, please see the following URL.

https://flexget.com/Configuration

Change Password

You need to run the command to change the password. It seems that it can be changed from the Web API as well.

  1. # If you do it on the host console
  2. sudo iocage set -P passwd="new_password" flexget
  3. # If you do it on the jail console
  4. sudo iocage console flexget
  5. su - flexget
  6. flexget web passwd new_password

Advanced configure

If you want to make settings that cannot be done with the Web UI, you have to access the jail console and execute flexget commands or rewrite the configuration file.

flexget command

The flexget command must be run as the flexget user. See the official docs for more information on the command.

  1. su - flexget
  2. flexget --help

config files

flexget is installed in the python venv environment at /usr/local/flexget. Files such as logs, config and DBs can be found here.

Normally you would have to activate the venv environment or specify an absolute path to run the flexget command, but flexget users are already configured to activate venv at login. See $HOME/.cshrc

Start and stop

Please control by starting and stopping the jail.

  1. # Run on host console
  2. iocage start flexget
  3. iocage stop flexget
  4. iocage restart flexget

If you want to control only the flexget daemon without stopping the jail, run the flexget daemon command or theservice flexget command.

  1. # Use flexget command. Run as flexget user on jail console
  2. flexget daemon start -d
  3. flexget daemon stop
  4. flexget daemon status
  5. # Use service command. Run as root user on jail console
  6. service flexget start
  7. service flexget stop
  8. service flexget status
  9. service flexget restart # service command only

Change the autostart setting

  1. # Run as root user on jail console
  2. # Enable autostart
  3. sysrc flexget_enable=YES
  4. # Disable autostart
  5. sysrc flexget_enable=NO