From 726184a55def4ca83b708a7b0df4e2bb878b8b75 Mon Sep 17 00:00:00 2001 From: igorljubuncic <43789966+igorljubuncic@users.noreply.github.com> Date: Sun, 8 Dec 2019 01:37:27 +0000 Subject: [PATCH] Add support for building snaps (#387) --- snapcraft.yaml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 snapcraft.yaml diff --git a/snapcraft.yaml b/snapcraft.yaml new file mode 100644 index 0000000..3720fab --- /dev/null +++ b/snapcraft.yaml @@ -0,0 +1,24 @@ +name: gorush +version: '1.0' +summary: A push notification server written in Go +description: | + A push notification server written in Go. +grade: stable +confinement: strict +base: core18 +parts: + gorush: + plugin: go + source: https://github.com/appleboy/gorush.git + go-importpath: github.com/appleboy/gorush + build-packages: + - build-essential +apps: + gorush: + command: bin/gorush + daemon: simple + restart-condition: on-abnormal + plugs: + - home + - network + - network-bind