[pkg-tasktools] setup_server.bash --> problem with pki script directory

Saša Janiška gour at atmarama.com
Sat Jul 16 07:09:11 UTC 2016


Hello,

I'm using taskd on my Debian (Sid) machine, but, so far, starting
taskd manually and use $HOME/taskd as $TASKDDATA. However I'd like to
migrate my 'local' setup to the system-wide one and the first thing I
tried is with setup_server.bash whic yields an error:

$sudo sh setup_server.bash 
[sudo] password for gour: 

This is an experimental script. Please report any problems.

Simple Taskserver configuration and setup.

This script will check your system, then setup and launch a Taskserver
instance for you. You will be asked to confirm before anything is written.
Please be careful with your answers and confirm that what the script
collected is correct.

Location of this script                                      setup_server.bash
Checking for pki script directory                            error
[I] gour at atmarama:/usr/share/taskd$ 

due to wrong directory layout:

# Look for pki scripts, relative to $0, which assumes this script is in the
# $REPO/scripts/ directory.
log_line "Checking for pki script directory"
if [ -d $DEFAULT_PKI ]; then
  log_ok "Found $DEFAULT_PKI"
else
  log_error "error"
  exit 1
fi


Not beain familiar how did you envision the layout on Debian, I'm just
reporting it here...


Sincerely,
Gour

-- 
One who restrains the senses of action but whose mind dwells on
sense objects certainly deludes himself and is called a pretender.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-tasktools-discuss/attachments/20160716/9339ec79/attachment.sig>


More information about the pkg-tasktools-discuss mailing list