Files
mesh-catalog/modules/pacman/files/mesh-pacman-weekly-upgrade.service
T

13 lines
533 B
Desktop File

# Generated by the mesh. Do not edit — module pacman writes this file and replaces it at every push.
[Unit]
Description=Weekly full upgrade (the mesh's pacman module, ADR 0477)
Wants=network-online.target
After=network-online.target
[Service]
# The upgrade pacman_upgrade runs (pacman -Syu --noconfirm), as a oneshot whose result is the module's health
# (pacman_upgrade_health). The mesh restarts no machine for an upgrade: a new kernel waits for the next restart.
Type=oneshot
Nice=10
ExecStart=/usr/bin/pacman -Syu --noconfirm