Created
December 1, 2016 01:58
-
-
Save ncaq/5b5a3139c762a080e9b68094ca01647d to your computer and use it in GitHub Desktop.
grive simple daemon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=grive daemon | |
[Service] | |
ExecStart=/bin/bash -c 'while true; do grive -p ~/GoogleDrive; inotifywait -r -t 1000 -e modify,move,create,delete ~/GoogleDrive; done' | |
[Install] | |
WantedBy=default.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment