Initialize Git Repository: 'Trash-Bin'
This commit is contained in:
11
trash-bin/lib/systemd/system/trash-bin.service
Normal file
11
trash-bin/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 30
|
||||
ProtectSystem=strict
|
||||
ReadWriteDirectories=/var/trash
|
||||
9
trash-bin/lib/systemd/system/trash-bin.timer
Normal file
9
trash-bin/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