add systemd service

Fixes #2.

add timer; make systemd unit instantiated

add some information on systemd unit
This commit is contained in:
James Barnett
2016-11-08 14:22:32 -06:00
parent ec5abf0a1b
commit 4785f18e7d
3 changed files with 55 additions and 7 deletions

10
systemd/snap-sync@.timer Normal file
View File

@@ -0,0 +1,10 @@
[Unit]
Description=Run snap-sync weekly
[Timer]
OnCalendar=weekly
AccuracySec=12h
Persistent=true
[Install]
WantedBy=timers.target