fastapi-dls/DEBIAN/postrm

14 lines
290 B
Plaintext
Raw Normal View History

#!/bin/bash
if [[ -d /etc/fastapi-dls ]]; then
echo "> Config directory not empty, please remove manually."
# rm -r /etc/fastapi-dls
fi
2022-12-28 06:16:34 +00:00
if [[ -f /etc/systemd/system/fastapi-dls.service ]]; then
echo "> Removing service file."
rm /etc/systemd/system/fastapi-dls.service
fi
# todo