#!/bin/sh
set -e
if [ "$1" = remove ]; then
	if [ -d /run/systemd/system ]; then systemctl stop logwisp.service || true; fi
	systemctl disable logwisp.service >/dev/null 2>&1 || true
fi
