~codersquid/snappy-hwe-snaps/+git/wifi-connect:https-selfsigned

Last commit made on 2017-07-06
Get this branch:
git clone -b https-selfsigned https://git.launchpad.net/~codersquid/snappy-hwe-snaps/+git/wifi-connect
Only Sheila Miguez can upload to this branch. If you are Sheila Miguez please log in for upload directions.

Branch merges

Branch information

Name:
https-selfsigned
Repository:
lp:~codersquid/snappy-hwe-snaps/+git/wifi-connect

Recent commits

e5fc813... by Sheila Miguez on 2017-07-06

operational cli command should start operational server, not management server

510dc3f... by Sheila Miguez on 2017-07-06

change start/stop behavior

I changed how the daemon and manager work to start a server. Instead of attempting
to start and change avahi and write a file each time, the daemon now only takes action
if the server was not already running.

The manual mode was changed so that servers are stopped if they are running upon
entering manual mode.

I also removed some debug logging.

57c2a20... by Sheila Miguez on 2017-07-06

remove debug logging

b464a6c... by Sheila Miguez on 2017-07-05

change start behavior conditions

When starting, a request to start the same server on the server that is already running
shouldn't fail, it just just no-op.

Also changed starting flag and avahi setup to only go on success

a47371d... by Sheila Miguez on 2017-07-05

change how and when stop exists

* don't return an error if the server is already stopped.
* give some extra time for the server to shutdown
  return an error if it never stops

e40f88f... by Sheila Miguez on 2017-07-05

move all flag file handling to daemon

85768f5... by Sheila Miguez on 2017-07-05

global err no longer used for handling server stop/start. fixed config handling to use local err

ee74c1a... by Sheila Miguez on 2017-07-05

fix gofmt and spelling error

3c9b3f4... by Sheila Miguez on 2017-07-05

changed where flag files are handled, refactored daemon initialization

* with the server management changing, flag files need to be handled differently
  this WIP starts that off
* added comments to help with understanding the service loop
* refactored daemon to have an initialization method that the service calls
  when first starting and when re-initializing the daemon

1cf1689... by Sheila Miguez on 2017-07-04

fixed incorrect interface signatures