Skip to content

Commit

Permalink
feat: add vanilla-updates.timer
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkobrombin committed Jan 28, 2024
1 parent 3de90e0 commit 40e7ccb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Requires=vanilla-updates.service
After=vanilla-updates.service
[Timer]
OnBootSec=1h
OnUnitActiveSec=1h
Unit=vanilla-updates.service
3 changes: 2 additions & 1 deletion modules/00-vanilla-system-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,5 @@ modules:
- name: enable-systemd-unit
type: shell
commands:
- ln -s /usr/lib/systemd/system/vanilla-updates.service /etc/systemd/system/multi-user.target.wants/vanilla-updates.service
- ln -s /usr/lib/systemd/system/vanilla-updates.service /etc/systemd/system/multi-user.target.wants/vanilla-updates.service
- ln -s /usr/lib/systemd/system/vanilla-updates.timer /etc/systemd/system/timers.target.wants/vanilla-updates.timer

0 comments on commit 40e7ccb

Please sign in to comment.