summaryrefslogtreecommitdiff
path: root/addon/snap/snapStopYACY.sh
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2019-02-04 14:34:37 +0100
committerluccioman <luccioman@users.noreply.github.com>2019-02-04 14:34:37 +0100
commit7a30bce2176a7f040df3247ee770a5f75e6aecc8 (patch)
treef82800beb4643155b2da828afa93cd978487880c /addon/snap/snapStopYACY.sh
parent5e9a08355a18989e456a5e58127e8eeb32196246 (diff)
Added a stop command using the existing stop script to the snap package
Diffstat (limited to 'addon/snap/snapStopYACY.sh')
-rwxr-xr-xaddon/snap/snapStopYACY.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/addon/snap/snapStopYACY.sh b/addon/snap/snapStopYACY.sh
new file mode 100755
index 000000000..425e44c25
--- /dev/null
+++ b/addon/snap/snapStopYACY.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+
+# Wrapper script for Snap package specific instructions before calling the stopYACY.sh script
+
+cd "`dirname $0`"
+
+. ./exportYacyDataPath.sh
+
+sh "$SNAP/yacy/stopYACY.sh" \ No newline at end of file