mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-12-29 06:49:33 +03:00
19 lines
396 B
Bash
Executable File
19 lines
396 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [[ -d /etc/fastapi-dls ]]; then
|
|
echo "> Config directory not empty, please remove manually."
|
|
# rm -r /etc/fastapi-dls
|
|
fi
|
|
|
|
if [[ -d /usr/share/fastapi-dls/ ]]; then
|
|
echo "> Removing app dir."
|
|
rm -r /usr/share/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
|