linux: stop existing service before install

This commit is contained in:
Koushik Dutta
2022-06-28 11:20:17 -07:00
parent fbfad8bb6e
commit d72d94e15d

View File

@@ -6,6 +6,9 @@ then
exit 1
fi
echo "Stopping existing service if it is running..."
systemctl stop scrypted.service
# bad hack to run a dockerfile like a shell script.
RUN() {