feat(systemd): Keep local repo up to date
This commit is contained in:
@@ -7,6 +7,7 @@ After=network.target
|
||||
User=build
|
||||
Type=oneshot
|
||||
IgnoreSIGPIPE=no
|
||||
ExecStartPre=/bin/bash -c 'sudo arch-nspawn /var/cache/paru/chroot/root pacman -Syu --noconfirm'
|
||||
ExecStart=/usr/bin/paru -Syu --noconfirm
|
||||
ExecStartPost=/bin/bash -c 'sudo /usr/local/bin/arch-needs-restart | grep -Piq '"'"'# [^:]+: reboot required'"'"' && sudo reboot || true'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user