Commit Graph

5 Commits (48f5f0e52f87b35f9f77987c8a699dab48ff9256)

Author SHA1 Message Date
ncaq 48f5f0e52f fixed: CMAKE_INSTALL_FULL_LIBDIR -> CMAKE_INSTALL_FULL_LIBEXECDIR
Because, It must equal GRIVE_SYNC_SH_BINARY and actual grive-sync.sh path.
I patched my gentoo overlay ebuild.
[added: grive: libexec patch · ncaq/ncaq-overlay@ed3354f](ed3354fbb7)
2021-07-08 14:41:19 +09:00
Jan Katins 050fcf53a0 Move helper script into libexec dir
This seems to be a proper dir for such "not-for-normal-user" things...
2021-03-30 15:19:53 +02:00
Jan Katins 4dfc9a5461 Install grive-sync.sh into the right libdir 2021-03-15 14:12:31 +01:00
Jan Schulz 1bab757298 Add systemd unit to enable both timer and changes based syncs
Now it's enough to enable and start `grive@<folder>.service`.
2021-03-14 22:49:59 +01:00
Jan Schulz d996989c29 Add user systemd units
The units can be used to automatically sync a folder in the users home dir
* every 3 minutes
* on local file changes (requires inotify-tools).

To enable the units for `~/google-drive/`:

```
systemctl --user enable grive-timer@google-drive.timer
systemctl --user start grive-timer@google-drive.timer
systemctl --user enable grive-changes@google-drive.service
systemctl --user start grive-changes@google-drive.service
```

The units can be enabled multiple times
2017-04-27 23:18:54 +02:00