diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2019-02-04 14:34:37 +0100 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2019-02-04 14:34:37 +0100 |
| commit | 7a30bce2176a7f040df3247ee770a5f75e6aecc8 (patch) | |
| tree | f82800beb4643155b2da828afa93cd978487880c /snap | |
| parent | 5e9a08355a18989e456a5e58127e8eeb32196246 (diff) | |
Added a stop command using the existing stop script to the snap package
Diffstat (limited to 'snap')
| -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: |
