feat: include clean-up and update-check services

This commit is contained in:
Rudra Saraswat 2026-04-04 01:45:25 +01:00
parent caed15d641
commit 4c1cfcfca9
2 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Clean-up following system update
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=no
User=root
ExecStart=/usr/bin/find / -maxdepth 1 -type d -name '.old.*' -exec /usr/bin/rm -rf -- {} +
[Install]
WantedBy=multi-user.target

View file

@ -0,0 +1,8 @@
[Unit]
Description=System updates
[Service]
ExecStart=/usr/bin/system update-check
[Install]
WantedBy=default.target