508af40359
The host will no longer store logs in the database. Instead, logging is done by syslog if running linux. If running Windows, logs are now stored in a local file in the app config directory. Fixed a bug with -add_admin that would fail to create more than one admin accounts in sequence due to the blank email addresses being blank. It will now create fake email addresses unique to each admin account. Added -res_pw to reset user acccount passwords from the CLI if needed. Logging was also expanded to capture and log all failures reported by all modules stderr output. Updated build.py and install.py for QT6 support and moved the linux .service file from /etc to /lib to conform to systemd standards. Removed the ls_dbg command because in database logging is no longer done.
8 lines
216 B
Bash
8 lines
216 B
Bash
#!/bin/sh
|
|
systemctl -q stop $app_target
|
|
systemctl -q disable $app_target
|
|
rm -v /lib/systemd/system/$app_target.service
|
|
rm -v /usr/bin/$app_target
|
|
rm -rv $install_dir
|
|
deluser $app_target
|
|
echo "Uninstallation Complete" |