Initial Commit

Initial Commit of scripts for Azure and AWS
This commit is contained in:
2018-07-05 15:06:57 -04:00
parent d073940acd
commit 542a5c4ae9
10 changed files with 794 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env bash
INSTALLATION_LOG=$1
echo 'Stopping service'>>$INSTALLATION_LOG
service reiphandler stop
echo 'Removing service source'>>$INSTALLATION_LOG
rm -rf /etc/reip/
echo 'Removing unit file'>>$INSTALLATION_LOG
rm -rf /etc/systemd/system/reiphandler.service
echo 'Removing service backup'>>$INSTALLATION_LOG
rm -rf reip_handler.sh
echo 'Removing service installer'>>$INSTALLATION_LOG
rm -rf installer.sh
echo 'Removing service service'>>$INSTALLATION_LOG
rm -rf /etc/init.d/reiphandler
echo 'Success'>>$INSTALLATION_LOG