Release 1.2.0

+ edited man page and readme
This commit is contained in:
arcan1s 2013-12-24 00:42:25 +04:00
parent 74a95a57e5
commit 051e6df16b
4 changed files with 15 additions and 2 deletions

View File

@ -10,7 +10,7 @@ url="https://github.com/arcan1s/queued"
license=("GPLv3")
depends=('bash')
source=(https://github.com/arcan1s/queued/releases/download/V.${pkgver}/${pkgname}-${pkgver}-src.tar.xz)
md5sums=('a5e1af503128283cda85ca21d08b6853')
md5sums=('94e7c73190939aaf6b63cb7bd2592a7c')
backup=('etc/queued.conf')
package()

View File

@ -11,6 +11,7 @@ GPLv3
help message
------------
* queued:
queued [ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ]
Parametrs:
@ -18,6 +19,15 @@ help message
-v --version - show version and exit
-h --help - show this help and exit
* add_queued:
add_queued [ -c /etc/queued.conf ] [ -p NUM ] [ -u USER ] [ -h | --help ] /path/to/script
Parameters:
-c PATH - path to configuration file. Default is '/etc/queued.conf'
-p NUM - job priority
-u USER - username
-h --help - show this help and exit
Configuration
-------------
All settings are stored in `/etc/queued.conf`. After edit them you must restart daemon (`systemctl restart queued`).
@ -28,10 +38,12 @@ How-to run jobs
* create priority file (`script.sh.pr`) with the job priority if it is needed
* create user file (`script.sh.user`) with the job username if it is needed
* copy files to `$WORKDIR`
Also you may use `add_queued`.
See also
--------
man 1 queued
man 1 add_queued
man 5 queued.conf
Instruction

Binary file not shown.

View File

@ -6,7 +6,8 @@ queued - daemon for starting jobs to queue of calculations
[ -c /etc/queued.conf ] [ -v | --version ] [ -h | --help ]
.SH DESCRIPTION
.B queued
is a simple daemon written on BASH for starting jobs to queue of calculations in the background.
is a simple daemon written on BASH for starting jobs to queue of calculations in the background. To add a new job you may use
.BR add_queued (1).
.SH OPTIONS
.TP
-c /etc/queued.conf