diff options
author | neodarz <neodarz@neodarz.net> | 2017-09-06 14:58:29 +0200 |
---|---|---|
committer | neodarz <neodarz@neodarz.net> | 2017-09-06 14:58:29 +0200 |
commit | 574fa1e4841fb35f2a806a4fe81cac005ef4deb7 (patch) | |
tree | b448c913a5e027fc5b4e2d4c74dc58e5806df573 | |
parent | ba1e3d3494e6422d86b16f2db934e89018f456a0 (diff) | |
download | dotfiles_ascii-574fa1e4841fb35f2a806a4fe81cac005ef4deb7.tar.xz dotfiles_ascii-574fa1e4841fb35f2a806a4fe81cac005ef4deb7.zip |
Use local user system folder instead the folder for application
Diffstat (limited to '')
-rwxr-xr-x | stow-services | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stow-services b/stow-services index 1b28c0c..db9350c 100755 --- a/stow-services +++ b/stow-services @@ -2,7 +2,7 @@ serviceName=$(echo $1 | cut -d'/' -f'2') if [[ $1 =~ "/" && $serviceName != "" ]]; then if [ -f "$1" ]; then if [[ $(echo $1 | cut -d'/' -f1) == "services" ]]; then - sudo ln -s $(readlink -f $1) /usr/lib/systemd/user/$serviceName + ln -s $(readlink -f $1) ~/.config/systemd/user/default.target.wants/$serviceName elif [[ $(echo $1 | cut -d'/' -f1) == "services-root" ]]; then sudo ln -s $(readlink -f $1) /usr/lib/systemd/system/$serviceName else |