fastapi-dls/DEBIAN/postrm
2022-12-28 07:16:34 +01:00

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