diff --git a/DEBIAN/postrm b/DEBIAN/postrm index a3d8b25..f786c67 100755 --- a/DEBIAN/postrm +++ b/DEBIAN/postrm @@ -5,4 +5,9 @@ if [[ -d /etc/fastapi-dls ]]; then 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