Bug #725

pisensors install should create sensor registration directory.

Added by Hammel about 1 year ago. Updated about 1 year ago.

Status:ClosedStart date:27 Oct 2019
Priority:ImmediateDue date:
Assignee:Hammel% Done:

100%

Category:Software
Target version:Iron Man - 0.5.0
Severity:03 - Medium

Description

There is no /etc/ironman/iot on a fresh install of pisensors so it fails to start. Creating that directory allows the app to start with no sensors configured.

Fix: add the following to postinst script for pisensors.

mkdir -p /etc/ironman/iot
mkdir -p /etc/ironman/jarvis

The latter is needed for Jarvis management.

Note: This may not belong here - both might be created with the imrest (imwww app) installation instead.

Associated revisions

Revision 4ffbb48e
Added by Hammel about 1 year ago

RM #725: Make runserver.sh's #! call /bin/sh instead of /bin/bash to be more portable.

Revision 9e22ad17
Added by Hammel about 1 year ago

RM #725: Create iot/jarvis registration directories on installation.

Revision 1695e7ce
Added by Hammel about 1 year ago

RM #725: Remove extraneous pisensors handling - it was put in there by mistake.

History

#1 Updated by Hammel about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Done - tested, committed and pushed.

Closing issue.

Also available in: Atom PDF