Add user systemd units
parent
cc591f3c36
commit
37f3e3add4
|
@ -62,3 +62,6 @@
|
||||||
!/khard/
|
!/khard/
|
||||||
!/khal/**
|
!/khal/**
|
||||||
!/khal/
|
!/khal/
|
||||||
|
!/systemd/**
|
||||||
|
!/systemd/
|
||||||
|
/systemd/user/*.wants
|
||||||
|
|
|
@ -265,6 +265,8 @@ reply-to-self=true
|
||||||
# against (non-case-sensitive) and a comma, e.g. subject,text will match a
|
# against (non-case-sensitive) and a comma, e.g. subject,text will match a
|
||||||
# subject which contains "text". Use header,~regex to match against a regex.
|
# subject which contains "text". Use header,~regex to match against a regex.
|
||||||
#subject,~^\[PATCH=colordiff
|
#subject,~^\[PATCH=colordiff
|
||||||
|
subject,~^\[PATCH=awk -f /usr/share/aerc/filters/hldiff
|
||||||
|
subject,~^\[RFC=awk -f /usr/share/aerc/filters/hldiff
|
||||||
text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
|
text/plain=sed 's/^>\+.*/\x1b[36m&\x1b[0m/'
|
||||||
text/html=pandoc -f html -t plain
|
text/html=pandoc -f html -t plain
|
||||||
image/*=catimg -w $(tput cols) -
|
image/*=catimg -w $(tput cols) -
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Mailbox synchronization service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=oneshot
|
||||||
|
ExecStart=/usr/bin/mbsync -Va
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Mailbox synchronization timer
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnBootSec=2m
|
||||||
|
OnUnitActiveSec=5m
|
||||||
|
Unit=mbsync.service
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
|
@ -0,0 +1,7 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Sync calendars and addressbooks with vdirsyncer
|
||||||
|
After=network-online.target
|
||||||
|
Wants=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/bin/vdirsyncer sync
|
|
@ -0,0 +1,9 @@
|
||||||
|
[Unit]
|
||||||
|
Description=Run vdirsyncer hourly
|
||||||
|
|
||||||
|
[Timer]
|
||||||
|
OnCalendar=hourly
|
||||||
|
Persistent=true
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=timers.target
|
Loading…
Reference in New Issue