Personal dotfiles for Linux, mostly for Nixpkgs/NixOS-based and Termux setups. Mirrored using GitLab's push mirroring feature. gitlab.com/andreijiroh-dev/dotfiles
linux dotfiles
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

add wrapper script for systemctl in userspace (systemctl --user)

Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.xyz>

+12
+1
bin/sysctl-user
··· 1 + systemctl-user
+11
bin/systemctl-user
··· 1 + #!/usr/bin/env bash 2 + 3 + # A wrapper script as an alias for calling "systemctl --user" 4 + 5 + if [[ $1 == "" ]]; then 6 + echo "Usage: $0 command..." 7 + echo "For more information on how to use systemctl on userspace, see man:systemctl(1)" 8 + exit 1 9 + fi 10 + 11 + exec systemctl --user "$@"