fix: directory structure
This commit is contained in:
parent
4c1cfcfca9
commit
384e479625
3 changed files with 674 additions and 0 deletions
12
usr/lib/systemd/system/akshara-update-cleanup.service
Normal file
12
usr/lib/systemd/system/akshara-update-cleanup.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue