Umiko f331b10358
Some checks are pending
Build-nightly / docker (push) Waiting to run
first commit.
2025-04-13 14:44:48 +07:00

8 lines
246 B
Plaintext

echo "Enter the username for the service that you want to $1."
read user
echo "Enter the service name that will perform the above action."
read service
sudo -u ${user} XDG_RUNTIME_DIR="/run/user/$(id -u ${user})" systemctl --user $1 ${service}