taskd: fix service and log to stdout

taskd user can't access /var/log/taskd.log anyway.
This commit is contained in:
sineemore 2019-01-27 18:22:26 +03:00 committed by maxice8
parent 7bbb117542
commit bad9ba3886
3 changed files with 3 additions and 4 deletions

View File

@ -2,8 +2,7 @@
case "$ACTION" in
post)
if [ "$UPDATE" != "yes" ]; then
taskd init --data var/lib/taskd
taskd config --data var/lib/taskd log var/log/taskd.log
taskd init --data var/lib/taskd --log=-
chown -R taskd:taskd var/lib/taskd
fi
;;

View File

@ -3,4 +3,4 @@
: ${TASKDDATA:=/var/lib/taskd}
: ${TASKDUSER:=taskd}
exec 2>&1
exec chpst -u ${TASKDUSER} taskd --data ${TASKDDATA}
exec chpst -u ${TASKDUSER} taskd server --data ${TASKDDATA}

View File

@ -1,7 +1,7 @@
# Template file for 'taskd'
pkgname=taskd
version=1.1.0
revision=3
revision=4
build_style=cmake
makedepends="libuuid-devel gnutls-devel"
depends="gnutls-tools"