Changes in daemon

* changes in cmd parametrs
* some refactoring
+ added sleeptime parametr
- bug with pgrep
This commit is contained in:
arcan1s
2013-12-23 22:15:23 +04:00
parent d0672e76ce
commit f11944394f
3 changed files with 55 additions and 77 deletions

View File

@ -2,9 +2,8 @@
Description=Queue daemon
[Service]
EnvironmentFile=/etc/queued.conf
Type=forking
ExecStart=/usr/bin/queued -jd $JOBDIR --priority $PRIORITY -q $QUEUEFILE -u $STARTASUSER -wd $WORKDIR
ExecStart=/usr/bin/queued
RemainAfterExit=yes
[Install]