#!/bin/bash

# Define the user you want to run the script as
TARGET_USER="admin"

# Define the path to the main script
MAIN_SCRIPT="/usr/bin/loki_utils"

# Run the main script as the target user, passing all arguments
sudo -u $TARGET_USER $MAIN_SCRIPT "$@"
