diff options
author | Pablo Couto | 2015-04-23 02:03:50 +0200 |
---|---|---|
committer | Pablo Couto | 2015-07-05 01:34:58 +0200 |
commit | 4c8f6a003c40cd67c6370ef6d5d0144e80682e1d (patch) | |
tree | 1a73d5aa0668c72fc84762bc716e80ccd3be8d79 /taskd.notes | |
parent | 48bd32f82c85f8c238da37b0fc262e6e8386b78e (diff) | |
download | aur-4c8f6a003c40cd67c6370ef6d5d0144e80682e1d.tar.gz |
taskd-git PKGBUILD from harleypig/abs@463a8ac
Diffstat (limited to 'taskd.notes')
-rw-r--r-- | taskd.notes | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/taskd.notes b/taskd.notes index e69de29bb2d1..02dbf40e8556 100644 --- a/taskd.notes +++ b/taskd.notes @@ -0,0 +1,35 @@ +# Reference http://taskwarrior.org/docs/server_setup.html + +# Add the taskd group to your user and logout and back in. +# sudo usermod -a -G taskd $USER + +# Source the environment variable(s). +export $(cat /etc/conf.d/taskd) + +# Initialize the database +taskd init + +# Add the organization +taskd add org Public + +# Add your user +task add user 'Public' 'Your Name' > ~/taskd.key + +# Generate and install your self-signed cert +cd /usr/lib/taskd/pki +sudo ./generate +sudo mv *.pem $TASKDDATA +chown -R taskd. $TASKDDATA + +taskd config --force client.cert $TASKDDATA/client.cert.pem +taskd config --force client.key $TASKDDATA/client.key.pem +taskd config --force server.cert $TASKDDATA/server.cert.pem +taskd config --force server.key $TASKDDATA/server.key.pem +taskd config --force server.crl $TASKDDATA/server.crl.pem +taskd config --force ca.cert $TASKDDATA/ca.cert.pem + +# Various settings +taskd config --force log $TASKDDATA/taskd.log +taskd config --force pid.file $TASKDDATA/taskd.pid +taskd config --force server localhost:53859 +taskd config --force client.allow '^task [2-9]' |