From 855124c726d02ae97b19e14c16c0807b5b47c1ed Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 30 Jul 2024 17:42:29 +0200 Subject: [PATCH] Enable `rclone` services properly --- scripts/Common/Software/rclone/main.fish | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/Common/Software/rclone/main.fish b/scripts/Common/Software/rclone/main.fish index 384d3308..f2379e59 100755 --- a/scripts/Common/Software/rclone/main.fish +++ b/scripts/Common/Software/rclone/main.fish @@ -35,7 +35,10 @@ begin sudo -Eu "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null rm "$entryPoint" rm ~"$name"/.config/plasma-welcomerc + else if [ -n "$name" ] && [ "$name" != "$USER" ] + sudo -Eu "$name" CONFIG_MODULE="$CONFIG_MODULE" fish "$(status filename)" userConfig else + systemctl --user enable rclone.service echo "Please complete the setup of your rclone configurations!" for config in (echo "$configs" | jq '.[]' --raw-output0 | string split0)