HEX
Server: LiteSpeed
System: Linux CentOS-79-64-minimal 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: vishn3436 (5293)
PHP: 8.0.15
Disabled: NONE
Upload Files
File: //opt/relica/uninstall-relica.bash
#!/usr/bin/env bash
set -ex

# NOTE: This script assumes you installed Relica according
# to the installation instructions on our website or with
# https://relica.run. If you installed Relica differently,
# then this script may not complete successfully and you
# will have to remove Relica manually.

echo "Uninstalling Relica"

echo "Stopping and disabling user service"
systemctl --user stop relica
systemctl --user disable relica
rm ~/.local/share/systemd/user/relica.service
systemctl --user daemon-reload

echo "Removing from launcher"
rm -f ~/.local/share/applications/Relica.desktop

echo "Deleting cache and local account information"
rm -rf ~/.relica/

echo "Deleting application folder"
sudo rm -rf /opt/relica/

echo "Finished - Relica has been removed"