Commit 5498d8c2 by source_reader

fixes for rpi cleanup

parent 5f5c0a84
Showing with 1 additions and 1 deletions
...@@ -3,7 +3,6 @@ set -e ...@@ -3,7 +3,6 @@ set -e
echo "stopping joule and lumen" echo "stopping joule and lumen"
service joule stop service joule stop
apache2ctl stop
echo "1] Remove the databases" echo "1] Remove the databases"
sudo -u postgres psql <<END_OF_SQL sudo -u postgres psql <<END_OF_SQL
...@@ -16,6 +15,7 @@ rm -f /etc/joule/stream_configs/*.conf ...@@ -16,6 +15,7 @@ rm -f /etc/joule/stream_configs/*.conf
echo "3] Removing default key material" echo "3] Removing default key material"
rm -f /etc/joule/security/* rm -f /etc/joule/security/*
rm -f /opt/api/config/secrets.yml rm -f /opt/api/config/secrets.yml
rm -f /home/pi/.joule
echo "4] Configuring root fs resize for first boot" echo "4] Configuring root fs resize for first boot"
PARTUUID="$(blkid -o export /dev/mmcblk0p2 | grep PARTUUID)" PARTUUID="$(blkid -o export /dev/mmcblk0p2 | grep PARTUUID)"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment