Add the daemon

This commit is contained in:
Leo Arias
2017-01-14 05:15:39 +00:00
parent 7169ea32c9
commit 6a36b58977

View File

@@ -14,9 +14,15 @@ description: |
grade: devel
confinement: strict
apps:
swagger-ui:
command: sh -c \"cd $SNAP/lib/node_modules/swagger-ui/dist && http-server -a localhost -p 8080\"
daemon: simple
plugs: [network, network-bind]
parts:
swagger-ui:
source: .
plugin: nodejs
npm-run: [build]
node-packages: [handlebars]
node-packages: [handlebars, http-server]