fastapi-dls/DEBIAN/postrm

14 lines
263 B
Bash
Executable File

#!/bin/bash
if [[ -d /etc/fastapi-dls ]]; then
echo "> Removing config directory."
rm -r /etc/fastapi-dls
fi
if [[ -f /etc/systemd/system/fastapi-dls.service ]]; then
echo "> Removing service file."
rm /etc/systemd/system/fastapi-dls.service
fi
# todo