While I am trying to execute
systemctl --user enable rclone@gdrive
or
systemctl --user start rclone@gdrive
on reboot time, I am getting following error:
Failed to connect to bus: $DBUS_SESSION_BUS_ADDRESS and $XDG_RUNTIME_DIR not defined (consider using --machine=@.host --user to connect to bus of other user)
--user
, but are in aroot
shell without the propersystemd
context. – Andrej Podzimek Jan 03 '23 at 15:04