Timer for system updates #4

Open
opened 2022-01-02 01:53:34 +00:00 by jordan · 2 comments
jordan commented 2022-01-02 01:53:34 +00:00 (Migrated from git.vimium.com)

Create units to schedule weekly system updates.

/etc/systemd/system/pacman-update.service

[Unit]
Description=System update
After=network.target

[Service]
Type=oneshot
ExecStart=pacman -Syu --noconfirm --noprogressbar
StandardOutput=journal

[Install]
WantedBy=multi-user.target

/etc/systemd/system/pacman-update.timer

[Unit]
Description=Weekly system update

[Timer]
OnCalendar=weekly
Persistent=true

[Install]
WantedBy=timers.target

This is likely a candidate to be moved to https://git.vimium.com/jordan/infrastructure.

Create units to schedule weekly system updates. /etc/systemd/system/pacman-update.service ``` [Unit] Description=System update After=network.target [Service] Type=oneshot ExecStart=pacman -Syu --noconfirm --noprogressbar StandardOutput=journal [Install] WantedBy=multi-user.target ``` /etc/systemd/system/pacman-update.timer ``` [Unit] Description=Weekly system update [Timer] OnCalendar=weekly Persistent=true [Install] WantedBy=timers.target ``` This is likely a candidate to be moved to https://git.vimium.com/jordan/infrastructure.
jordan commented 2022-01-02 01:53:35 +00:00 (Migrated from git.vimium.com)

assigned to @jordan

assigned to @jordan
jordan commented 2022-01-02 01:54:06 +00:00 (Migrated from git.vimium.com)

changed the description

changed the description
Commenting is not possible because the repository is archived.
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
jordan/dotfiles#4
No description provided.