Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify where to invoke systemctl, provide example #322

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mdeguzis
Copy link

@mdeguzis mdeguzis commented Sep 6, 2020

  • Clarify where to invoke systemctl
  • provide example
  • Show how to tail/monitor sync with systemd approach

Prepare a Google Drive folder in your $HOME directory with `grive -a`.
Ensure you have first initialized a Google Drive folder per the instructions in the usage section.
Execute these commands from the directory above the folder you are using. In the example below,
`google-drive` was initialized inside the user `$HOME` directory.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it should not matter where you execute these commands in.

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
```

For example:
```

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't there a nice tutorial this can link to? It's basically explaining how systemctl --user works under the hood and has nothing to do with grive itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants