summaryrefslogtreecommitdiffstats
path: root/snapcraft.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'snapcraft.yaml')
-rw-r--r--snapcraft.yaml26
1 files changed, 19 insertions, 7 deletions
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 1a85f682..d1ef6856 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -38,6 +38,11 @@ apps:
daemon: simple
plugs: [network, network-bind]
+ caddy:
+ command: caddy-control
+ daemon: simple
+ plugs: [network, network-bind]
+
help:
command: wekan-help
@@ -85,6 +90,7 @@ parts:
- npm
- curl
- paxctl
+ - execstack
prepare: |
echo "Cleaning environment first"
rm -rf ~/.meteor ~/.npm /usr/local/lib/node_modules
@@ -118,17 +124,23 @@ parts:
cp -r .build/bundle/* $SNAPCRAFT_PART_INSTALL/
cp .build/bundle/.node_version.txt $SNAPCRAFT_PART_INSTALL/
rm $SNAPCRAFT_PART_INSTALL/lib/node_modules/wekan
+ execstack --clear-execstack $SNAPCRAFT_PART_INSTALL/programs/server/npm/node_modules/meteor/rajit_bootstrap3-datepicker/lib/bootstrap-datepicker/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
organize:
README: README.wekan
helpers:
source: snap-src
plugin: dump
+
+ caddy:
+ plugin: dump
+ source: https://caddyserver.com/download/linux/amd64?plugins=
+ source-type: tar
organize:
- wekan-control: bin/wekan-control
- mongodb-control: bin/mongodb-control
- wekan-read-settings: bin/wekan-read-settings
- wekan-help: bin/wekan-help
- mongodb-backup: bin/mongodb-backup
- mongodb-restore: bin/mongodb-restore
- config: bin/config
+ caddy: bin/caddy
+ CHANGES.txt: CADDY_CHANGES.txt
+ EULA.txt: CADDY_EULA.txt
+ LICENSES.txt: CADDY_LICENSES.txt
+ README.txt: CADDY_README.txt
+ stage:
+ - -init