This commit is contained in:
2021-01-19 01:49:20 -06:00
parent fe5fb11174
commit 1795eb9967
10 changed files with 824 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
# vim:ft=systemd:
[Unit]
Description=Dotfile fetch service
[Service]
ExecStart=git --git-dir=%h/.dotfiles/ --work-tree=%h fetch
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,11 @@
# vim:ft=systemd:
[Unit]
Description=Dot fetch timer
[Timer]
Persistent=true
OnBootSec=15min
OnCalendar=*-*-* 22:00:00
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,9 @@
# vim:ft=systemd:
[Unit]
Description=Project fetch service
[Service]
ExecStart=find %h/Projects -type d -iname .git -execdir git fetch \;
[Install]
WantedBy=default.target

View File

@@ -0,0 +1,11 @@
# vim:ft=systemd:
[Unit]
Description=Project fetch timer
[Timer]
Persistent=true
OnBootSec=15min
OnCalendar=*-*-* 23:00:00
[Install]
WantedBy=default.target