From 7e3d36750acb4e91295c823412eb5c9984eb7bf5 Mon Sep 17 00:00:00 2001 From: skilion Date: Tue, 29 Dec 2015 20:01:03 +0100 Subject: [PATCH] instruction on how to run the service --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 4bacdf7b..6500b4e7 100644 --- a/README.md +++ b/README.md @@ -46,6 +46,18 @@ Use `|` to separate multiple patterns. ### First run The first time you run the program you will be asked to sign in. The procedure require a web browser. +### Service +If you want to sync your files automatically, enable and start the systemd service: +``` +systemctl --user enable onedrive +systemctl --user start onedrive +``` + +To see the logs run: +``` +journalctl --user-unit onedrive -f +``` + ### Usage: onedrive [OPTION]...