diff options
Diffstat (limited to 'files/taskd')
-rw-r--r-- | files/taskd/config | 19 | ||||
-rw-r--r-- | files/taskd/taskd.service | 13 |
2 files changed, 2 insertions, 30 deletions
diff --git a/files/taskd/config b/files/taskd/config deleted file mode 100644 index cc21502..0000000 --- a/files/taskd/config +++ /dev/null @@ -1,19 +0,0 @@ -confirmation=1 -extensions=/usr/libexec/taskd -ip.log=on -log=/var/log/taskd.log -pid.file=/tmp/taskd.pid -queue.size=10 -request.limit=1048576 -root=/var/lib/taskd -server=taskd.eug-vs.xyz:53589 -trust=strict -verbose=1 - -client.cert=/var/lib/taskd/api.cert.pem -client.key=/var/lib/taskd/api.key.pem -server.cert=/var/lib/taskd/server.cert.pem -server.key=/var/lib/taskd/server.key.pem -server.crl=/var/lib/taskd/server.crl.pem -ca.cert=/var/lib/taskd/ca.cert.pem -debug.tls=3 diff --git a/files/taskd/taskd.service b/files/taskd/taskd.service index dc66757..db56e2d 100644 --- a/files/taskd/taskd.service +++ b/files/taskd/taskd.service @@ -1,19 +1,10 @@ [Unit] -Description=Secure server providing multi-user, multi-client access to Taskwarrior data Requires=network.target After=network.target -Documentation=https://taskwarrior.org/docs/#taskd [Service] -ExecStart=/usr/local/bin/taskd server --data /var/lib/taskd -Type=simple +ExecStart=/usr/local/bin/taskd server --data /home/taskd/data +WorkingDirectory=/home/taskd/data User=taskd Group=taskd -WorkingDirectory=/var/lib/taskd -PrivateTmp=true -InaccessibleDirectories=/home /root /boot /opt /mnt /media -ReadOnlyDirectories=/etc /usr - -[Install] -WantedBy=multi-user.target |