summaryrefslogtreecommitdiff
path: root/files/taskd/taskd.service
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2022-03-26 14:37:43 +0300
committereug-vs <eugene@eug-vs.xyz>2022-03-26 14:53:09 +0300
commit7868305f1cf6f7db7716b4136885fbb06ebf861c (patch)
treee90a9e898d9f0209a3cc189bccf950705a73d68e /files/taskd/taskd.service
parentb4a2c9441c804e44df6cd4de74c54df6c5edb538 (diff)
downloadinfrastructure-7868305f1cf6f7db7716b4136885fbb06ebf861c.tar.gz
feat: put taskd data in /home/taskd
Diffstat (limited to 'files/taskd/taskd.service')
-rw-r--r--files/taskd/taskd.service13
1 files changed, 2 insertions, 11 deletions
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