diff options
Diffstat (limited to 'snap/snapcraft.yaml')
| -rw-r--r-- | snap/snapcraft.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
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: |
