Initialize Git Repository: 'Trash-Bin'
All checks were successful
Trash Bin (Bookworm) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Bookworm) / Trash Bin [amd64] (push) Successful in 11s
Trash Bin (Noble) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Noble) / Trash Bin [amd64] (push) Successful in 11s
Trash Bin (Trixie) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Trixie) / Trash Bin [amd64] (push) Successful in 12s
All checks were successful
Trash Bin (Bookworm) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Bookworm) / Trash Bin [amd64] (push) Successful in 11s
Trash Bin (Noble) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Noble) / Trash Bin [amd64] (push) Successful in 11s
Trash Bin (Trixie) / Trash Bin [arm64] (push) Successful in 11s
Trash Bin (Trixie) / Trash Bin [amd64] (push) Successful in 12s
This commit is contained in:
11
root/lib/systemd/system/trash-bin.service
Normal file
11
root/lib/systemd/system/trash-bin.service
Normal file
@@ -0,0 +1,11 @@
|
||||
[Unit]
|
||||
Description=Clanup the trash bin
|
||||
ConditionDirectoryNotEmpty=/var/trash
|
||||
After=multi-user.target
|
||||
Requires=multi-user.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/trash-bin --clean
|
||||
ProtectSystem=strict
|
||||
ReadWriteDirectories=/var/trash
|
||||
9
root/lib/systemd/system/trash-bin.timer
Normal file
9
root/lib/systemd/system/trash-bin.timer
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Clanup the trash bin
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 00:00:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user