User:Maffblaster/Drafts/taskd

From Gentoo Wiki
Jump to:navigation Jump to:search

Taskserver, also known as taskd, is a sync server that primarily complements Taskwarrior (the command-line todo manager client) and other related products.

Installation

Emerge

taskd has no USE flags. It can simply be emerged:

root #emerge --ask app-misc/taskd

Additional software

Client software

Be sure to emerge the command-line client (app-misc/task) on each system that will be using the Taskwarrior suite.

root #emerge --ask app-misc/task

Certification generation tool

A certification generation tools will be needed in order to use the certification generation scripts that come with Taskserver.

To obtained certtool, emerge the GnuTLS package with the tools USE flag enabled:

root #echo "net-libs/gnutls tools" >> /etc/portage/package.use || echo "net-libs/gnutls tools" >> /etc/portage/package.use/gnutls
root #emerge --ask net-libs/gnutls

Configuration

Files

  • /etc/taskd/config - Global (system wide) configuration file that stores important daemon configuration values. This is where the daemon's TLS certificate will be defined.

Service

OpenRC

The /etc/conf.d/taskd file exists to edit the TASKDATA working directory location of the daemon. If the typical /var/lib location is no suitable for storing the logs this path can be adjusted appropriately.

Set taskd to start on in the default runlevel:

root #rc-update add taskd default

Start taskd now:

root #service taskd start

Usage

Invocation

Important
Do not use the taskd init command. It will replace the configuration file and set default but unsuitable paths on Gentoo!

Troubleshooting

Issue 1

Removal

Unmerge

root #emerge --ask --depclean --verbose app-misc/taskd

See also

  • Taskwarrior — to-do list manager for the command line

External resources

References