add units to automatically sync notebook

This commit is contained in:
Bruno Carlin 2018-09-28 11:27:46 +02:00
parent 04f823d585
commit eeb29c3e70
3 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,6 @@
[Unit]
Description=Synchronize local notebook
[Service]
Type=oneshot
ExecStart=/home/bca/.local/bin/syncnotebook

View file

@ -0,0 +1,11 @@
[Unit]
Description=Notebook synchronization timer
[Timer]
OnBootSec=5m
OnUnitActiveSec=5m
Persistent=true
Unit=syncnotebook.service
[Install]
WantedBy=timers.target

View file

@ -0,0 +1 @@
/home/bca/.config/systemd/user/syncnotebook.timer