Fix CardReaderService.conf for supervisorctl to ensure correct pathing as per install directories. Correct MessageLogger to ensure it appends log messages, previously overwrote the logs. Add manual Reset event in Service1.cs to ensure that we exit when we stop. Add configurationmanager/config property, to allow DataCenterHelper to pull updated configurations at runtime. Add TimeStamp to CardDataPost object #103
13 lines
350 B
Bash
13 lines
350 B
Bash
#!/bin/sh
|
|
if [ -z "$1" ]
|
|
then
|
|
echo "No arguments supplied, supply the base path"
|
|
fi
|
|
echo "Stopping service...."
|
|
service supervisor stop
|
|
rm -f /etc/supervisor/conf.d/CardReaderService.conf
|
|
echo "Removing Application.."
|
|
rm -r -f $1/CardReaderService
|
|
echo "Removing application dependencies.."
|
|
apt-get remove pcscd supervisor mono-complete -y
|