From 7a30bce2176a7f040df3247ee770a5f75e6aecc8 Mon Sep 17 00:00:00 2001 From: luccioman Date: Mon, 4 Feb 2019 14:34:37 +0100 Subject: Added a stop command using the existing stop script to the snap package --- snap/snapcraft.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'snap') diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index c668904d1..a454b093b 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -33,6 +33,11 @@ apps: # Interfaces authorizations requirements # network - to allow requesting the ConfigAccounts_p HTTP API when the server is running plugs: [network] + stop: # stop the YaCy server + command: sh "$SNAP/yacy/addon/snap/snapStopYACY.sh" + # Interfaces authorizations requirements + # network - to allow requesting the Steering.html API + plugs: [network] parts: yacy-search: -- cgit v1.2.3