JustMotion/templates/linux_uninstall.sh
zii daad0dffa2 v3.5.t2
-re-added recordloop as a thread within the app.
-the app no longer use mutiple services and will instead fully
 operate in a single master service.
-build/install.py will now install the app as a single service.
-added/updated -s, -r and -q options to manage the single master
 service.
2024-04-21 08:03:30 -04:00

10 lines
241 B
Bash

#!/bin/sh
systemctl stop $app_target
systemctl disable $app_target
rm -v /lib/systemd/system/$app_target.service
rm -v /usr/bin/$app_target
rm -rv /tmp/$app_target-stats
rm -rv $install_dir
deluser $app_target
echo "Uninstallation Complete"