My snapcraft.yaml is as follows :
name: hapi-combo11
base: core18
version: '1.0.11'
summary: Hapi Server Linux-x64
description: |
Hapi Server Linux-x64
grade: stable
confinement: strict
architectures:
- build-on: amd64
apps:
curl:
command: curl
hapis1:
command: /snap/hapi-combo11/current/hapi-server-v1.0.10/bin/node /snap/hapi-combo11/current/hapi-server-v1.0.10/test/server-test.js
hapis-server:
command: /snap/hapi-combo11/current/hapi-server-v1.0.10/hapi-server --logdir="/home/parallels/snap" --metadata_dir="/home/parallels/snap"
parts:
hapis1:
source: https://github.com/drunkenlord/snapp-happ/releases/download/v1.0.0.1/hapi-server-v1.0.10.tar.gz
plugin: dump
hapis-server:
source: https://github.com/drunkenlord/snapp-happ/releases/download/v1.0.0.1/hapi-server-v1.0.10.tar.gz
plugin: dump
curl:
source: http://curl.haxx.se/download/curl-7.45.0.tar.bz2
plugin: autotools
Upon success, when I am trying to trigger the following commands :
sudo hapi-combo11.hapis1
sudo hapi-combo11.hapis-server
I am receiving the following error : exec : /usr/bin/sudo : Permission Denied Any help would be appreciated.