fixing systemd for vdirsyncer
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
[calendars]
|
[calendars]
|
||||||
|
|
||||||
|
[[google_local]]
|
||||||
|
path = ~/.cache/calendar/google/*
|
||||||
|
color = light blue
|
||||||
|
type = discover
|
||||||
|
|
||||||
[[nextcloud_cal_local]]
|
[[nextcloud_cal_local]]
|
||||||
path = ~/.cache/calendar/nextcloud/*
|
path = ~/.cache/calendar/nextcloud/*
|
||||||
|
color = dark green
|
||||||
type = discover
|
type = discover
|
||||||
|
|
||||||
[[nextcloud_card_local]]
|
[[nextcloud_card_local]]
|
||||||
@@ -23,7 +29,7 @@
|
|||||||
|
|
||||||
[highlight_days]
|
[highlight_days]
|
||||||
color = dark green
|
color = dark green
|
||||||
default_color = dark blue
|
default_color = light blue
|
||||||
multiple = dark red
|
multiple = dark red
|
||||||
|
|
||||||
[view]
|
[view]
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Syncronise Nextcloud instance
|
Description=Run vdirSyncer
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=nextcloudcmd /media/nextcloud 'https://tonitch:jOkN5UaCMRRnjLIe3cH9KEXzb@nc.debucquoy.me'
|
ExecStart=vdirsyncer sync
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Run nextcloud sync every 15 minutes
|
Description=run vdirsyncer every 15 min
|
||||||
|
|
||||||
[Timer]
|
[Timer]
|
||||||
OnActiveSec=10min
|
OnActiveSec=10min
|
||||||
|
|||||||
@@ -34,3 +34,20 @@ status_path = "~/.vdirsyncer/status/"
|
|||||||
b = "nextcloud_card_local"
|
b = "nextcloud_card_local"
|
||||||
collections = ["from a"]
|
collections = ["from a"]
|
||||||
metadata= ["displayname"]
|
metadata= ["displayname"]
|
||||||
|
|
||||||
|
[storage debucquoyanthony_remote]
|
||||||
|
type = "google_calendar"
|
||||||
|
client_id.fetch = ["command", "cat", "~/.config/pass/debucquoyanthony_id.txt"]
|
||||||
|
client_secret.fetch = ["command", "cat", "~/.config/pass/debucquoyanthony_secret.txt"]
|
||||||
|
token_file = "~/.config/pass/debucquoyanthony_token.txt"
|
||||||
|
|
||||||
|
[storage debucquoyanthony_local]
|
||||||
|
type = "filesystem"
|
||||||
|
path = "~/.cache/calendar/google/debucquoyanthony"
|
||||||
|
fileext = ".ics"
|
||||||
|
|
||||||
|
[pair debucquoyanthony_cal]
|
||||||
|
a = "debucquoyanthony_remote"
|
||||||
|
b = "debucquoyanthony_local"
|
||||||
|
collections = ["from a"]
|
||||||
|
metadata= ["color", "displayname", "description", "order"]
|
||||||
|
|||||||
Reference in New Issue
Block a user