add cleanup script for future uninstall modularization (#16)

This commit is contained in:
Tiger Wang
2022-10-20 21:07:35 -04:00
committed by GitHub
parent 58a10d2200
commit 06ec3d5142
8 changed files with 210 additions and 55 deletions
@@ -15,11 +15,8 @@ if [ ! -f "${CONF_FILE}" ]; then \
cp -v "${CONF_FILE_SAMPLE}" "${CONF_FILE}"; \
fi
# enable and start service
systemctl daemon-reload
# enable service (without starting)
echo "Enabling service..."
systemctl enable --force --no-ask-password "${APP_NAME}.service"
#echo "Starting service..."
#systemctl start --force --no-ask-password "${APP_NAME}.service"