[pkg-tasktools] taskd.service does not start after boot

Saša Janiška gour at atmarama.com
Sun Jul 24 06:09:20 UTC 2016


Hello,

I have enabled taskd systemd unit service with the:

$ sudo systemctl enable taskd.service
Synchronizing state of taskd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable taskd

but it does not start after boot?

By looking at taskd docs
(http://taskwarrior.org/docs/taskserver/control.html) I see that the
systemd unit file differs a bit:

[Unit]
Description=Secure server providing multi-user, multi-client access to Taskwarrior data
Requires=network.target
After=network.target
Documentation=http://taskwarrior.org/docs/#taskd

[Service]
ExecStart=/usr/local/bin/taskd server --data $TASKDDATA
Type=simple
User=$TASKDUSER
Group=$TASKDGROUP
WorkingDirectory=$TASKDDATA
PrivateTmp=true
InaccessibleDirectories=/home /root /boot /opt /mnt /media
ReadOnlyDirectories=/etc /usr

[Install]
WantedBy=multi-user.target

so wonder if lack of:

Requires=network.target
After=network.target

can influence ability of the service to start after boot or do I miss
something else?


Sincerely,
Gour


-- 
As a strong wind sweeps away a boat on the water,
even one of the roaming senses on which the mind
focuses can carry away a man's intelligence.



More information about the pkg-tasktools-discuss mailing list