2022-12-22 09:41:07 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
if [[ -d /etc/fastapi-dls ]]; then
|
2022-12-28 06:40:44 +00:00
|
|
|
echo "> Config directory not empty, please remove manually."
|
|
|
|
# rm -r /etc/fastapi-dls
|
2022-12-22 09:41:07 +00:00
|
|
|
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
|
|
|
|
|
2022-12-22 09:41:07 +00:00
|
|
|
# todo
|