1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
name: test-snapd-python-webserver
version: 16.04-3
summary: Python based example webserver
description: |
Show random XKCD comic via a build-in webserver
This is meant as a fun example for a snappy package.
apps:
test-snapd-python-webserver:
command: bin/test-snapd-python-webserver
daemon: simple
plugs: [network, network-bind]
parts:
test-snapd-python-webserver:
plugin: python3
copy:
plugin: dump
source: .
organize:
server.py: bin/test-snapd-python-webserver
index.html: www/index.html
|