Walker is not run as a systemd service

This commit is contained in:
David Heinemeier Hansson
2025-11-19 11:42:01 +01:00
parent c50003a996
commit 2c1a761b88
2 changed files with 3 additions and 3 deletions

View File

@@ -13,9 +13,9 @@ if [[ $EUID -eq 0 ]]; then
systemd-run --uid="$SCRIPT_OWNER" --setenv=XDG_RUNTIME_DIR="/run/user/$USER_UID" \ systemd-run --uid="$SCRIPT_OWNER" --setenv=XDG_RUNTIME_DIR="/run/user/$USER_UID" \
bash -c " bash -c "
systemctl --user restart elephant.service systemctl --user restart elephant.service
systemctl --user restart app-walker@autostart.service setsid walker --gapplication-service &
" "
else else
systemctl --user restart elephant.service systemctl --user restart elephant.service
systemctl --user restart app-walker@autostart.service setsid walker --gapplication-service &
fi fi

View File

@@ -5,4 +5,4 @@ systemctl --user start elephant.service
pkill walker pkill walker
mkdir -p ~/.config/autostart/ mkdir -p ~/.config/autostart/
cp $OMARCHY_PATH/autostart/walker.desktop ~/.config/autostart/ cp $OMARCHY_PATH/autostart/walker.desktop ~/.config/autostart/
systemctl --user start app-walker@autostart.service setsid walker --gapplication-service &