FlexitimeTracker/CardReaderService/uninstall.sh
chris.watts90@outlook.com 7f410df70b created install and uninstall shell scripts - tested on ubuntu.
created dependencies text file to explain what is required.
created CardReaderService.conf file for supervisor configuration.
2017-03-30 22:30:17 +01:00

8 lines
271 B
Bash

echo "Stopping application...."
service supervisor stop
rm -f /etc/supervisor/conf.d/CardReaderService.conf
echo "Removing Application.."
rm -r -f /home/osboxes/CardReaderService
echo "Removing application dependencies.."
apt-get remove pcscd supervisor mono-complete -y