This commit is contained in:
2025-07-21 11:38:09 -05:00
parent 0bac0962c2
commit 7230171518
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -9,6 +9,7 @@ SERVICE_FILE="$HOME/.config/systemd/user/$SERVICE_NAME.service"
CARGO_BIN="$(which cargo)"
if [ -d $INSTALL_DIR ]; then
echo "Sentryx already exists, creating a backup then updating it, NOTE: you will need to transfer configs manually"
mv $INSTALL_DIR $INSTALL_DIR"-backup"
fi
+1
View File
@@ -72,6 +72,7 @@ async fn get_apps(query: web::Query<Auth>) -> Result<impl Responder> {
Ok(units) => Ok(web::Json(
units
.iter()
.filter(|i| i.ends_with(".service"))
.map(|v| match systemctl.status(v) {
Ok(unit) => {
let a = service::parse_service(unit);