Skip to content

Can't find sync services status with systemctl #380

@majneb

Description

@majneb

My google-drive folder is located in ~/google-drive. For now I use to sync it manually with the grive command in this folder and it works.
But I am not sure how to properly set the partial auto sync feature : after installing inotify-tools, I enter the following command as written in the readme.md file :

systemctl --user enable grive@$(systemd-escape google-drive).service
systemctl --user start grive@$(systemd-escape google-drive).service

which returns the following :

Created symlink /home/majneb/.config/systemd/user/default.target.wants/grive@google\x2ddrive.service → /usr/lib/systemd/user/[email protected].

But this does not seem to work : when I try to modify a simple text file in the local google-drive folder, it is not synced to the remote. So I try to check the systemctl status of the service, and I could not find it :
systemctl status grive@$(systemd-escape google-drive).service returns Unit grive@google\x2ddrive.service could not be found.,
and systemctl status grive@ returns Failed to get properties: Unit name [email protected] is neither a valid invocation ID nor unit name.

I also tried to manually activate changes and timer sync with

systemctl --user enable grive-timer@$(systemd-escape google-drive).timer
systemctl --user start grive-timer@$(systemd-escape google-drive).timer
systemctl --user enable grive-changes@$(systemd-escape google-drive).service
systemctl --user start grive-changes@$(systemd-escape google-drive).service

but I add the same result.

I am quite sure I am wrong somewhere. How should I get it to work ?

By the way thank you for this amazing tool !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions